-
Notifications
You must be signed in to change notification settings - Fork 909
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
[Bug] Second run of "Upgrade all" actually downgraded after first one was stopped with Ctrl+C #1559
Comments
Control+C can cause erratic behavior. Maybe typing N would have been a better option? |
Right now it's erratic but not necessarily a bug - we do need to get better about handling Control+C though. I am going to add this as a duplicate of one or more of the other Control+C known issues |
I guess "no" will just stop the current script only. I didn't want to continue with the rest installs. May be an option "stop" would be good enough for bulk installs |
@ferventcoder perhaps another option could be added to the the prompt? |
I think it may not be a bad idea to have an Abort, which would essentially stop everything in progress for the whole run instead of just that one. |
Global abort on Ctrl-C gets my vote. |
Duplicate of #619 |
What You Are Seeing?
I had chocolatey 0.10.8 installed, the latest version available was 0.10.10
I started "upgrade all" but on the prompt to confirm running the post-install script I pressed Ctrl+C so I can rerun it with "-y" parameter I forgot.
After the second run, cocolatey removed an incomplete installation and installed 0.10.7
What is Expected?
Remove latest incomplete install, not the current one. Keep the current version intact.
How Did You Get This To Happen? (Steps to Reproduce)
Output Log
https://gist.github.com/venimus/883f5c211855f1184b548716889fc148#file-c-programdata-chocolatey-logs-chocolatey-log-L4851
The text was updated successfully, but these errors were encountered: