Need help restoring .nupkg
files having zero size
#2765
-
Not sure yet what exactly happened, but during a low disk space situation caused by Patch Tuesday, all of my Now Chocolatey thinks there is only that non-zero package file is installed:
Found out as I was uninstalling Mercurial with
Then checked the files, they were all stamped the same time-stamp of the uninstall:
and
So I got two questions:
--jeroen |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Get-ChildItem $env:ChocolateyInstall/lib/*/*.nupkg | % {
choco install $_.basename --skip-powershell
} |
Beta Was this translation helpful? Give feedback.
-
It's a known issue that Chocolatey can't handle zero size or corrupted So, I'd suggest this:
|
Beta Was this translation helpful? Give feedback.
It's a known issue that Chocolatey can't handle zero size or corrupted
.nupkg
files.#717
So, I'd suggest this:
.nupkg
files. There is a oneliner in the linked issue.