Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnet-install.sh fails with "The requested URL returned error: 404 Not Found" #18702

Closed
nick-schultz opened this issue Feb 16, 2024 · 2 comments

Comments

@nick-schultz
Copy link

I just downloaded a new dotnet-install.sh and I am having an issue trying to install.

wget https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh
chmod u+x ./dotnet-install.sh 

Regardless of the version I try to download, I am met with the same 404 errors:

$ ./dotnet-install.sh --version 6.0.26
dotnet-install: Attempting to download using primary link https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.26/dotnet-sdk-6.0.26-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: The resource at primary link 'https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.26/dotnet-sdk-6.0.26-linux-x64.tar.gz' is not available.
dotnet-install: Attempting to download using legacy link https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.26/dotnet-dev-rhel-x64.6.0.26.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: The resource at legacy link 'https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.26/dotnet-dev-rhel-x64.6.0.26.tar.gz' is not available.
dotnet-install: Attempting to download using primary link https://dotnetbuilds.azureedge.net/public/Sdk/6.0.26/dotnet-sdk-6.0.26-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: The resource at primary link 'https://dotnetbuilds.azureedge.net/public/Sdk/6.0.26/dotnet-sdk-6.0.26-linux-x64.tar.gz' is not available.
dotnet-install: Attempting to download using legacy link https://dotnetbuilds.azureedge.net/public/Sdk/6.0.26/dotnet-dev-rhel-x64.6.0.26.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: The resource at legacy link 'https://dotnetbuilds.azureedge.net/public/Sdk/6.0.26/dotnet-dev-rhel-x64.6.0.26.tar.gz' is not available.
dotnet_install: Error: Could not find `.NET Core SDK` with version = 6.0.26
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support

$ ./dotnet-install.sh --version 7.0.16
dotnet-install: Attempting to download using primary link https://dotnetcli.azureedge.net/dotnet/Sdk/7.0.16/dotnet-sdk-7.0.16-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: The resource at primary link 'https://dotnetcli.azureedge.net/dotnet/Sdk/7.0.16/dotnet-sdk-7.0.16-linux-x64.tar.gz' is not available.
dotnet-install: Attempting to download using legacy link https://dotnetcli.azureedge.net/dotnet/Sdk/7.0.16/dotnet-dev-rhel-x64.7.0.16.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: The resource at legacy link 'https://dotnetcli.azureedge.net/dotnet/Sdk/7.0.16/dotnet-dev-rhel-x64.7.0.16.tar.gz' is not available.
dotnet-install: Attempting to download using primary link https://dotnetbuilds.azureedge.net/public/Sdk/7.0.16/dotnet-sdk-7.0.16-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: The resource at primary link 'https://dotnetbuilds.azureedge.net/public/Sdk/7.0.16/dotnet-sdk-7.0.16-linux-x64.tar.gz' is not available.
dotnet-install: Attempting to download using legacy link https://dotnetbuilds.azureedge.net/public/Sdk/7.0.16/dotnet-dev-rhel-x64.7.0.16.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: The resource at legacy link 'https://dotnetbuilds.azureedge.net/public/Sdk/7.0.16/dotnet-dev-rhel-x64.7.0.16.tar.gz' is not available.
dotnet_install: Error: Could not find `.NET Core SDK` with version = 7.0.16
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
$ ./dotnet-install.sh --version 8.0.2
dotnet-install: Attempting to download using primary link https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.2/dotnet-sdk-8.0.2-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: The resource at primary link 'https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.2/dotnet-sdk-8.0.2-linux-x64.tar.gz' is not available.
dotnet-install: Attempting to download using legacy link https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.2/dotnet-dev-rhel-x64.8.0.2.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: The resource at legacy link 'https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.2/dotnet-dev-rhel-x64.8.0.2.tar.gz' is not available.
dotnet-install: Attempting to download using primary link https://dotnetbuilds.azureedge.net/public/Sdk/8.0.2/dotnet-sdk-8.0.2-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: The resource at primary link 'https://dotnetbuilds.azureedge.net/public/Sdk/8.0.2/dotnet-sdk-8.0.2-linux-x64.tar.gz' is not available.
dotnet-install: Attempting to download using legacy link https://dotnetbuilds.azureedge.net/public/Sdk/8.0.2/dotnet-dev-rhel-x64.8.0.2.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: The resource at legacy link 'https://dotnetbuilds.azureedge.net/public/Sdk/8.0.2/dotnet-dev-rhel-x64.8.0.2.tar.gz' is not available.
dotnet_install: Error: Could not find `.NET Core SDK` with version = 8.0.2
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support

@Thefrank
Copy link

Those look like runtime versions. SDK versions look this: 7.0.406

@nick-schultz
Copy link
Author

Thanks @Thefrank , that was my mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants