Open llehn opened 8 years ago
What version of NuGet.exe
are you using? I've seen this problem with older clients not understanding the ever-changing and ever-breaking dependency syntax.
Ok my report was like the worst report ever, no details :D
I'm using nuget 3.4.4.1321
When I do this:
nuget install System.Runtime
here's the output of nuget:
Feeds used:
https://nuget.kardex.com/api/odata/
GET https://nuget.kardex.com/api/odata/FindPackagesById()?id='system.runtime'
OK https://nuget.kardex.com/api/odata/FindPackagesById()?id='system.runtime' 31ms
Attempting to gather dependency information for package 'system.runtime.4.1.0' with respect to project 'C:\dev\tmp', targeting 'Any,Version=v0.0'
Attempting to resolve dependencies for package 'system.runtime.4.1.0' with DependencyBehavior 'Lowest'
Resolving actions to install package 'system.runtime.4.1.0'
Resolved actions to install package 'system.runtime.4.1.0'
GET https://nuget.kardex.com/api/packages/System.Runtime/4.1.0/content
InternalServerError https://nuget.kardex.com/api/packages/System.Runtime/4.1.0/content 2559ms
GET https://nuget.kardex.com/api/packages/System.Runtime/4.1.0/content
InternalServerError https://nuget.kardex.com/api/packages/System.Runtime/4.1.0/content 2468ms
GET https://nuget.kardex.com/api/packages/System.Runtime/4.1.0/content
InternalServerError https://nuget.kardex.com/api/packages/System.Runtime/4.1.0/content 2683ms
Error downloading 'System.Runtime.4.1.0' from 'https://nuget.kardex.com/api/packages/System.Runtime/4.1.0/content'.
Der Antwortstatuscode gibt keinen Erfolg an: 500 (Internal Server Error).
WARNUNG: Install failed. Rolling back...
Error downloading 'System.Runtime.4.1.0' from 'https://nuget.kardex.com/api/packages/System.Runtime/4.1.0/content'.
Der Antwortstatuscode gibt keinen Erfolg an: 500 (Internal Server Error).
So then I got to the url nuget complains about:
https://nuget.kardex.com/api/packages/System.Runtime/4.1.0/content
there I see the exception info I posted in the first post
The server is running Klondike 2 under Mono
Upgrading nuget.core fixes the problem, see PR
Cross referencing https://github.com/themotleyfool/NuGet.Lucene/pull/44 which has been merged and will be in the next release of Klondike.
Fixed in v2.2.1
https://github.com/themotleyfool/Klondike/releases/tag/v2.1.1
It seems this issue is still not resolved, my project fails the nuget package validation step with this error after I tried to upgrade to the latest version of Autofac.Extras.Quartz which depends on System.Runtime (>= 4.3.0)
using Klondike 2.1.1 (assuming v2.2.1 above is a typo since that build doesn't currently exist)
running nuget install system.runtime
gives this on the server