dotnet-install.sh fails because the download URL returns .
See original GitHub issueStep to reproduce
- Create a docker container using alpine 3.14
- Get all dependencies informed in https://docs.microsoft.com/en-us/dotnet/core/install/linux-alpine
- Download using
wget
comand the installer script https://dot.net/v1/dotnet-install.sh and change mode to this file. - Execute
./dotnet-install.sh -c 6.0
Expected behavior
Should be able to download the binaries
Actual behavior
If supplied with -c parameter has 6.0. the installer script return fail with the following error message:
#11 0.806 dotnet-install: Download attempt #1 has failed: Unable to download https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0/latest.version. Returned HTTP status code: .
annex evidences:
Enviroment data
Alpine 3.14
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top Results From Across the Web
dotnet-install.sh fails because the download URL returns 404
Steps to reproduce Download the installer script - https://dot.net/v1/dotnet-install.sh Run ./dotnet-install.sh Expected behavior Should be ...
Read more >dotnet-install.sh not adding dotnet command on Ubuntu
I know the dotnet-install.sh script has not historically added it. You need to add a line like export PATH="$PATH:/home/<!username!> ...
Read more >Install .NET on Linux without using a package manager
Demonstrates how to install the .NET SDK and the .NET Runtime on Linux without a package manager. Use the install script or manually...
Read more >Troubleshoot app launch failures
Learn about common reasons for app launch failures and possible solutions. ... The error message includes a link to download .NET.
Read more >net core - Installing dotnet on CentOS 6.1
I downloaded the shell script to install the latest on Centos 6.1 but I get the following error below for any version that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @KalleOlaviNiemitalo, I tried to use the dotnet-install.sh from github.com and it´s also fails althought it’sdue to another fails.
On the other hand, the failure of waitretry is secondary. The original fail is generated when it trying to download from https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0/latest.version this return a http status code has “.”. Please look it at next imagen:
![image](https://user-images.githubusercontent.com/15109469/148429213-e2851d1d-9bc0-4983-a48d-a4b32d9e7d36.png)
Duplicate of https://github.com/dotnet/install-scripts/issues/216, which has been fixed already. I don’t know whether the corrected version of dotnet-install.sh is available anywhere in https://dot.net/, but you could perhaps get it from https://github.com/dotnet/install-scripts/blob/main/src/dotnet-install.sh.