-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paket.exe 3.13.1 on GitHub is corrupt #1858
Comments
works for me. maybe just your download was corrupted, but not the exe itself? |
That's odd. It happened on several of my coworkers' computers as well, and downloading from a different source solved the issue, so I assumed it's not an issue on my machine. Perhaps there's something caching a corrupt copy somewhere. |
Will release a new one. Just to make sure |
Okay, this seems to be an issue with paket.bootstrapper.exe downloading an incomplete paket.exe from GitHub. Here's what I get when downloading the last two versions: 3.13.1 3.13.2 It seems the bootstrapper downloads some portion of the file, and is satisfied with it, resulting in a corrupt download. Chrome has no problems downloading the full file from the exact same URL. Neither have any issues downloading the nupkg from nuget.org. Also, once there's a corrupt download in Paket's cache, it always writes:
Even after repeated runs, instead of writing:
So it can detect when there's a corrupt download (when the cached version doesn't match what it expects), and remove it from the cache. This corrupt cache detection could at least mitigate this issue. |
if you have a good idea then please send a PR to the boostrapper |
Your wish is my command :) I was surprised to find out the bootstrapper is in C# and not F#, so I was glad I had the possibility to contribute. |
When using paket.bootstrapper.exe to update to the latest version, it downloads the latest version, 3.13.1, from GitHub. This version seems to be corrupt. Trying to run it produces the following message box:
By forcing the bootstrapper to download from nuget.org instead, it downloads a valid paket.exe and everything works as expected. I used this command:
paket.bootstrapper.exe --force-nuget -f
The text was updated successfully, but these errors were encountered: