3

Closed

Clean cache automatically when package corrupted

description

Today when I tried to install several nuget packages (Fody addins), I got error "Received an unexpected EOF or 0 bytes from the transport stream". Since I never experienced this error with other packages, I thought that was Fody's issue, so I raised a bug with Fody: https://github.com/Fody/Fody/issues/55

At the end, the issue was fixed by deleting nuget's cache folder and manually downloading the package from web browser and coping it to the cache folder.

nuget should handle this issue automatically, or at least display a more useful error message like "Oops, something went wrong, we might have some corrupted packages in the cache folder. Please try..."
Closed Oct 23, 2013 at 7:18 AM by deepakverma
this looks to be dupe of http://nuget.codeplex.com/workitem/3354 for 2.9

comments

SimonCropp wrote Mar 26, 2013 at 12:44 PM

+1

GeertvanHorrik wrote Mar 26, 2013 at 3:12 PM

+1

feiling wrote Jun 19, 2013 at 4:39 AM

Please attach the corrupted package file if you still have it. NuGet already performs basic validation of package files and errors are reported if corruption is detected. Without your file, I can't figure out what the problem is.

yanglee wrote Jun 19, 2013 at 4:16 PM

@feiling, sorry the corrupted packages were deleted. I haven't experienced this issue again since my previous post. I will attach a package if I see it again.

deepakaravindr wrote Oct 17, 2013 at 10:11 PM

No Repro

deepakverma wrote Oct 23, 2013 at 7:18 AM