[Linux][Question] Error when doing nuget restore to update the version
See original GitHub issueI 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:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top 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 >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
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.
Thanks. I had to do everything from the start but it worked.