dotnet restore on debian 9 dotnet sdk 2.0.3 fails to download any packages
See original GitHub issue@dvogel commented on Sun Dec 10 2017
I downloaded the minimal install of debian 9 and installed it using defaults.
Then I followed the directions for installing dotnet sdk. I ran:
export PATH=$PATH:$HOME/dotnet
mkdir test0
cd test0
dotnet new mvc
dotnet restore
The restore command printed out:
Restoring packages for /home/dvogel/test0/test0.csproj...
Restore completed in 39.83 ms for /home/dvogel/test0/test0.csproj.
Restore completed in 60.96 ms for /home/dvogel/test0/test0.csproj.
That output looked successful at first but a subsequent dotnet build
will fail due to missing packages. The $HOME/.nuget/packages
directory is empty.
Here’s an OVA exported from virtualbox: http://acfa3ee7d7a82c5cc99c3982b6dab6ab.s3.amazonaws.com/dotnet-devel1.ova (password is “microsoft” for both the root and dvogel accounts).
The PATH
change seems suspect because nothing is actually installed into $HOME/dotnet
and the dotnet
commands don’t seem to create any files in that directory.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
dotnet restore on debian 9 dotnet sdk 2.0.3 fails to ...
I downloaded the minimal install of debian 9 and installed it using defaults. ... The restore command printed out: Restoring packages for /home/ ......
Read more >Install the .NET SDK or the .NET Runtime on Debian
Demonstrates the various ways to install .NET SDK and .NET Runtime on Debian.
Read more >dotnet restore command - .NET CLI
When you run the dotnet restore command, the .NET CLI uses NuGet to look for these dependencies and download them if necessary.
Read more >Nuget restore fails with authentication
Migrating to my Linux machine for work I have run into a problem with Nuget. Our projects are .net core 3.1 and each...
Read more >Add a package with a local package file in 'dotnet'
The package foo.1.0.0.nupkg has been created with dotnet pack in a different project. The command dotnet add package however tries to download ......
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 FreeTop 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
Top GitHub Comments
After running
sudo apt remove libssl1.0.0
it now works. Looks to be a duplicate of another issue.I see. That makes some sense. I am going to close this one then, if that’s ok with you and I would suggest commenting on that one in case you have something to add there.
Let me know if something comes up and you want me to re-activate this one.