dotnet-install.sh is unable to install 10.0.403
@JoeRobich 已经在做这个了。
开始于 2026年10月27日。
评估
这个 Issue 还没有评估数据。
描述
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
- 主要语言
- PowerShell
- 星标
- 213
- 派生
- 123
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dotnet/install-scripts 的其他 Issue
-
untriaged
难度 2/5 1-3 小时 新手友好度 68/100
dotnet/install-scripts#746 · 1 个 reaction ·
-
Improve output for unsupported one-part channel in dotnet-install.sh可能已有人在做 @luissena 于 223 天前认领。 未关闭up-for-grabs
难度 2/5 1-3 小时 新手友好度 65/100
dotnet/install-scripts#686 · 2 个 reaction ·
-
PR validation Windows leg takes ~50 minutes可能重新可做 关联的 PR 已关闭且未合并。 未关闭area-infra
dotnet/install-scripts#699 · 2 个 reaction · 已指派 1 人 ·
-
难度 3/5 1-2 天 新手友好度 48/100
dotnet/install-scripts#595 · 5 条评论 ·
-
needs-pm-discussion
难度 5/5 一周以上 新手友好度 35/100
dotnet/install-scripts#583 · 1 条评论 · 2 个 reaction ·