dotnet / install-scripts

MIT License
127 stars 70 forks source link

Windows Arm64 dotnet-install fails for latest version "8.0.100-rc.2.23455.25" #392

Closed LoopedBard3 closed 10 months ago

LoopedBard3 commented 10 months ago

When attempting to use the dotnet-install script to install the latest dotnet version (8.0.100-rc.2.23455.25 as of writing) on a Windows Arm64 machine, the install ends up failing with 404 errors for one of the links. Here is part of an error:

PS C:\Users\Administrator\Desktop> .\dotnet-install.ps1 -Version "8.0.100-rc.2.23455.25" -InstallDir ".\dotnetinstall"
dotnet-install: Downloading from "primary" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.100-rc.2.23455.25/dotnet-sdk-8.0.100-rc.2.23455.25-win-arm64.zip
StatusCode: 404
Error: Unable to download https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.100-rc.2.23455.25/dotnet-sdk-8.0.100-rc.2.23455.25-win-arm64.zip. Returned HTTP
 status code: 404 Downloading from "legacy" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.100-rc.2.23455.25/dotnet-dev-win-arm64.8.0.100-rc.2.23455.25.zip
StatusCode: 404
Error: Unable to download https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.100-rc.2.23455.25/dotnet-dev-win-arm64.8.0.100-rc.2.23455.25.zip. Returned HTTP
 status code: 404 Downloading from "primary" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Sdk/8.0.100-rc.2.23455.25/dotnet-sdk-8.0.100-rc.2.23455.25-win-arm64.zip
StatusCode: 404
...

The error repeats a few times before exiting the install. Attempting to access this link manually also returns a 404/blob does not exist error.

LoopedBard3 commented 10 months ago

This is still an issue with the rc.2.23456.1 version.

baronfel commented 10 months ago

@rbhanda can you check if something's up with the release pipeline for the nightly builds?

baronfel commented 10 months ago

The -Version flag only downloads publicly released versions, and there aren't available builds for RC2 yet. If you use the 'daily' Quality argument with the 8.0 channel, however, you will download and use the latest RC2 nightlies from this installer repo.

LoopedBard3 commented 10 months ago

Using version 8.0.100-rc.2.23456.1 seems to be working now while rc.2.23455.25 still fails, does that mean that there are now available builds for RC2 starting with rc.2.23456.1 and it was just transient error?

sebastienros commented 10 months ago

@baronfel @LoopedBard3

We check the package exists on both the public and nightly feeds: https://dotnetbuilds.azureedge.net/public, and https://dotnetcli.azureedge.net/dotnet

Then use this feed a the specific version

.\\dotnet-install.ps1 -Version {sdkVersion} -NoPath -SkipNonVersionedFiles -InstallDir {dotnetHome} -AzureFeed {dotnetFeed}

I think it's the correct way to get the packages, but this specific version didn't get published correctly.

YuliiaKovalova commented 10 months ago

Hi @rbhanda,

Could you check if the links were generated for the requested package?

rbhanda commented 10 months ago

I am not sure if I can do anything here. https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.100-rc.2.23455.25/dotnet-sdk-8.0.100-rc.2.23455.25-win-arm64.zip - this link will not exist until RC2 is available publicly.

YuliiaKovalova commented 10 months ago

close as not a bug.