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.

[Linux][Question] Error when doing nuget restore to update the version

See original GitHub issue

I follow the update instructions from https://github.com/EDDiscovery/EDDiscovery/issues/3171 and I meet this error any idea ?

hippo@hippo-camp:~/EDDiscovery$ nuget restore
MSBuild auto-detection: using msbuild version '15.0' from '/usr/lib/mono/msbuild/15.0/bin'.
Restoring NuGet package RJKJSoft.GLOFC.0.5.3.
  GET https://api.nuget.org/v3-flatcontainer/rjkjsoft.glofc/0.5.3/rjkjsoft.glofc.0.5.3.nupkg
  NotFound https://api.nuget.org/v3-flatcontainer/rjkjsoft.glofc/0.5.3/rjkjsoft.glofc.0.5.3.nupkg 882ms
WARNING: Unable to find version '0.5.3' of package 'RJKJSoft.GLOFC'.
  /home/hippo/.nuget/packages/: Package 'RJKJSoft.GLOFC.0.5.3' is not found on source '/home/hippo/.nuget/packages/'.
  https://api.nuget.org/v3/index.json: Package 'RJKJSoft.GLOFC.0.5.3' is not found on source 'https://api.nuget.org/v3/index.json'.

WARNING: Unable to find version '0.5.3' of package 'RJKJSoft.GLOFC'.
  /home/hippo/.nuget/packages/: Package 'RJKJSoft.GLOFC.0.5.3' is not found on source '/home/hippo/.nuget/packages/'.
  https://api.nuget.org/v3/index.json: Package 'RJKJSoft.GLOFC.0.5.3' is not found on source 'https://api.nuget.org/v3/index.json'.


Errors in packages.config projects
    Unable to find version '0.5.3' of package 'RJKJSoft.GLOFC'.
      /home/hippo/.nuget/packages/: Package 'RJKJSoft.GLOFC.0.5.3' is not found on source '/home/hippo/.nuget/packages/'.
      https://api.nuget.org/v3/index.json: Package 'RJKJSoft.GLOFC.0.5.3' is not found on source 'https://api.nuget.org/v3/index.json'.

NuGet Config files used:
    /home/hippo/.config/NuGet/NuGet.Config

Feeds used:
    /home/hippo/.nuget/packages/
    https://api.nuget.org/v3/index.json

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Eahlstancommented, Oct 23, 2021

Hm. I might have missed a step (sorry).

So from an empty directory do:

git clone https://github.com/EDDiscovery/EDDiscovery git checkout Branch_12_1 git pull origin Branch_12_1 git submodule update --init ( <- I missed that) nuget restore ./monobuild

I did all this and had no problems compiling (although on Windows I didn’t need the last two commands).

Just do

git submodule update --init

and then

nuget restore ./monobuild

or do everything from the start. Screenshot 2021-10-23 214838

0reactions
matt32106commented, Oct 23, 2021

Thanks. I had to do everything from the start but it worked.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting NuGet Package Restore in Visual Studio
This article focuses on common errors when restoring packages and steps to resolve them. Package Restore tries to install all package ...
Read more >
Unable to restore / remove / update a NuGet package ...
You can do this in Visual Studio. There is no reason to close it. Just delete the reference, remove the package line from...
Read more >
dotnet restore does not use NuGetDefaults.Config on Linux
Expected behavior. dotnet restore to restore packages from my custom package source defined in NuGetDefaults. Config .
Read more >
[SOLVED] Unable to save /etc/X11xorg.conf for writing
I am using Ubuntu 21.10 with an XFCE desktop on two monitors. I have an ASUS TUF Z590 gfx card installed using nvidia...
Read more >
I have nuget restore errors with the latest Artifactory Pro ...
After upgrading to 6.12.2 the local nuget repo is broken. When a nuget client (in this case Visual Studio) tries to restore our...
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