Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
CAN'T DELETE A PACKAGE FROM COMMANDLINE
-
We get this error if we wont delete a release or prerelease package from commandline
DELETE https://nuget.test-dev.net/nuget/test/Test/1.9.0.980
System.InvalidOperationException: Failed to process request. 'Not Found'.
The remote server returned an error: (404) Not Found.. ---> System.Net.WebExcept
ion: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at NuGet.RequestHelper.GetResponse(Func1 createRequest, Action1 prepareRequ
est, IProxyCache proxyCache, ICredentialCache credentialCache, ICredentialProvid
er credentialProvider)
at NuGet.HttpClient.GetResponse()
at NuGet.PackageServer.EnsureSuccessfulResponse(HttpClient client, Nullable1 expectedStatusCode) --- End of inner exception stack trace --- at NuGet.PackageServer.EnsureSuccessfulResponse(HttpClient client, Nullable1
expectedStatusCode)
at NuGet.PackageServer.DeletePackageFromServer(String apiKey, String packageI
d, String packageVersion)
at NuGet.PackageServer.DeletePackage(String apiKey, String packageId, String
packageVersion)
at NuGet.Commands.DeleteCommand.ExecuteCommand()
at NuGet.Commands.Command.Execute()
at NuGet.Program.Main(String[] args)please help.
Product: ProGet
Version: 3.0.0 -
Thanks for the report - it has been filed in our internal issue tracker as issue PG-172. It appears to be only happening with the NuGet v2.8 client and should still work correctly with v2.7 and below.
The workaround is to simply delete the packages manually from the disk storage path.
-
I get the same error with nuget.exe 2.7,2.6 and 2.5. We hope you can fix it in future version
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login