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 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:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
dvogelcommented, Dec 13, 2017

After running sudo apt remove libssl1.0.0 it now works. Looks to be a duplicate of another issue.

0reactions
livarcocccommented, Dec 13, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

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