Skip to content

dotnet-install.sh is unable to install 10.0.403 #747

Open

Description

@klemmchr

Describe the bug

While 10.0.403 has been publicly announced, trying to install it fails with an error.

> [ 2/22] RUN apt-get update &&     DEBIAN_FRONTEND=noninteractive     apt-get install -y --no-install-recommends         ca-certificates         libc6         libgcc-s1         libgssapi-krb5-2         libicu74         liblttng-ust1         libssl3t64         libstdc++6         libunwind8         libatomic1         tzdata         zlib1g &&     curl -sSL https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh | bash /dev/stdin --channel 10.0 &&     dotnet workload install --no-cache wasm-tools &&     rm -rf /var/lib/apt/lists/*:
6.784 Setting up liblttng-ust1t64:amd64 (2.13.7-1.1ubuntu2) ...
6.791 Processing triggers for libc-bin (2.39-0ubuntu8.9) ...
10.19 dotnet-install: Attempting to download using aka.ms link https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-linux-x64.tar.gz
11.52 dotnet-install: Download attempt dotnet/sdk#1 has failed: 409 Unable to download https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-linux-x64.tar.gz. Returned HTTP status code: 409.
11.52 dotnet-install: Attempt dotnet/sdk#2 will start in 10 seconds.
22.84 dotnet-install: Download attempt dotnet/sdk#2 has failed: 409 Unable to download https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-linux-x64.tar.gz. Returned HTTP status code: 409.
22.84 dotnet-install: Attempt dotnet/sdk#3 will start in 20 seconds.
44.42 dotnet-install: Failed to download aka.ms link 'https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-linux-x64.tar.gz': 409 Unable to download https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-linux-x64.tar.gz. Returned HTTP status code: 409.
44.42 dotnet_install: Error: Could not find `.NET Core SDK` with version = 10.0.403
44.42 dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support

Steps to reproduce

Run dotnet-install.sh

curl -sSL https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh | bash /dev/stdin --channel

Expected behavior

Latest version 10.0.403 is downloaded

Actual behavior

Upon download, a 409 is returned for https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-linux-x64.tar.gz

Is this a regression?

Pinning the version to 10.0.402 works.

curl -sSL https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh | bash /dev/stdin --version 10.0.402

dotnet/sdk#6 15.65 dotnet-install: Attempting to download using primary link https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.402/dotnet-sdk-10.0.402-linux-x64.tar.gz
dotnet/sdk#6 18.56 dotnet-install: Remote file https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.402/dotnet-sdk-10.0.402-linux-x64.tar.gz size is 240279509 bytes.
dotnet/sdk#6 18.56 dotnet-install: Extracting archive from https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.402/dotnet-sdk-10.0.402-linux-x64.tar.gz
dotnet/sdk#6 24.80 dotnet-install: Downloaded file size is 240279509 bytes.
dotnet/sdk#6 24.80 dotnet-install: The remote and local file sizes are equal.
dotnet/sdk#6 25.12 dotnet-install: Installed version is 10.0.402
dotnet/sdk#6 25.14 dotnet-install: Adding to current process PATH: `/root/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet/sdk#6 25.14 dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet/sdk#6 25.14 dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet/sdk#6 25.14 dotnet-install: Installation finished successfully.

Are there any workarounds?

No response

dotnet --info output

IDE version

No response

Other details

No response

Activity

  1. locked and limited conversation to collaborators on Oct 25, 2026
  2. unlocked this conversation on Oct 25, 2026
  3. github-actions commented on Oct 25, 2026

    @github-actions

    🎯 Agentic Issue Triage

    Triage Assessment:

    ➡️ Summary: dotnet-install.sh fails downloading SDK 10.0.403 from the dotnetorigin blob link with HTTP 409, while 10.0.402 works. Verify the 10.0.403 release artifacts and aka.ms links are published correctly.

    Generated by 🏷️ Issue Triage for #747 · copilot · auto · 22 AIC · ⌖ 0.676 AIC · ⊞ 14.4K · ◷

  4. marcpopMSFT commented on Oct 27, 2026

    @marcpopMSFT
    Member

    Triage: This was the day of the release. Was it a timing issue?

  5. klemmchr commented on Oct 27, 2026

    @klemmchr
    Author

    It certainly was. I tried it again the next day and it was working. For some reason the script picks up a new version before it actually is publicly available in the blob storage.

    Additionally, the error message I received was different than the one you would get when requesting a blob that does not exist.

    https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.405/dotnet-sdk-10.0.405-linux-x64.tar.gz returns The specified blob does not exist.

    https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-linux-x64.tar.gz on the other hand returned something along the lines of The storage account is not publicly accessible, probably the error message you would get when requesting a private blob from the public internet.

    This is especially odd since the install script resolves the correct version by looking at the redirect header of the generic download link. I cannot say whether this happened because I specified a channel.

  6. transferred this issue fromdotnet/sdkon Oct 27, 2026
  7. marcpopMSFT commented on Oct 27, 2026

    @marcpopMSFT
    Member

    Transferring over to the install scripts issue. I bet it was some timing issue around the CDN and the releases.json. It should not fail on release day though as that could break any number of builds that are running at the same time as the release.

  8. marcpopMSFT commented on Oct 27, 2026

    @marcpopMSFT
    Member

    Per @joeloff there was an hour where the releases.json pointed to the wrong download so that may have been the issue. We'd need to double check if the install scripts pull the links from the releases.json or elsewhere.

  9. klemmchr commented on Oct 27, 2026

    @klemmchr
    Author

    Regarding the timing: my first record of the script failing was at 2026-10-25T17:56:19.000Z up until 2026-10-25T20:02:39.000Z, after that I pinned 10.0.402 to fix my docker build.

  10. JoeRobich commented on Oct 27, 2026

    @JoeRobich
    Member

    We'd need to double check if the install scripts pull the links from the releases.json or elsewhere.

    From the log we can see that the install script was using the aka.ms link when attempting the download.

    dotnet-install: Attempting to download using aka.ms link https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-linux-x64.tar.gz
    dotnet-install: Download attempt dotnet/sdk#1 has failed: 409 Unable to download https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-linux-x64.tar.gz. Returned HTTP status code: 409.
    

    I will look at probable causes of returning a 409 from blog storage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

untriagedIssue is awaiting triage

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions