Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

dotnet-install.sh is unable to install 10.0.403

未關閉
#747 7 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

@JoeRobich 已經在處理了。

開始於 2026年10月27日。

評估

這個 Issue 還沒有評估資料。

描述

untriaged
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,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

dotnet/install-scripts 的其他 Issue

查看 dotnet/install-scripts 的全部 Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。