question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dotnet-install.sh tries to download a non existing tar.gz file on Debian 8

See original GitHub issue

I am unable to install dotnet on Debian Jessie.

When executing curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh | bash /dev/stdin --version 1.0.0-preview1-002702, the installer reports it cannot download https://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/1.0.0-preview1-002702/dotnet-dev-debian-x64.1.0.0-preview1-002702.tar.gz.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dsgoudacommented, May 20, 2016

eerhardt do you think the URL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview1/scripts/obtain/dotnet-install.sh would also change in the future (our daily builds depend on this script), also do improvements/bug fixes to the code get posted to this branch?

1reaction
eerhardtcommented, May 20, 2016

@tmds - If you want to install the “Preview1” bits, you should use the install scripts in the “Preview1” branch. The scripts are versioned with the releases, so we can make changes like where the files get uploaded to in Azure, how they get laid out on disk, etc.

So instead of:

https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh

use

https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview1/scripts/obtain/dotnet-install.sh

An advantage you get here is that it will default to the “latest” build, which is the official Preview1 build, and you don’t need to pass in --version at all.

(Alternatively, if you need to continue using the rel/1.0.0 script, you could fix this by passing in --channel beta to the script.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 >
how to install .net 7 via the command line on a Linux system?
I want to install dotnet 7 on a Linux agent in a CICD system (buildkite) as part of a script. This is batch...
Read more >
dotnet-install scripts - .NET CLI
The dotnet-install scripts perform a non-admin installation of the .NET SDK, which includes the .NET CLI and the shared runtime.
Read more >
How To Install Microsoft .NET Core SDK On Linux
This step by step guide explains how to install Microsoft .NET Core SDK on Linux and how to write your first app using...
Read more >
VS Code doesn't find expected dotnet SDK
I found the solution to the problem a few minutes after posting the issue... The steps that worked for me are from ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found