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 摘要。