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 ·