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

Prevent reset of package selection if update fails - issue #120 #182

Merged
merged 1 commit into from Nov 5, 2016

Conversation

Projects
None yet
2 participants
@brennanhm
Copy link
Contributor

brennanhm commented Oct 17, 2016

  • Check the apt history log to see if the update was successful
  • Skip refresh of packages if nothing was installed
brennanhm
Prevent reset of package selection if update fails - issue #120
- Check the apt history log to see if the update was successful
- Skip refresh of packages if nothing was installed
@clefebvre

This comment has been minimized.

Copy link
Member

clefebvre commented Oct 17, 2016

Can't we use returnCode instead?

@brennanhm

This comment has been minimized.

Copy link
Contributor Author

brennanhm commented Oct 17, 2016

That's what I was hoping to use at first, but in my testing Synaptic returned 0 in all cases:

  • Successful install
  • User cancels
  • Connection times out

This is the best alternative that I could come up with.

@clefebvre clefebvre merged commit 42d2ea0 into linuxmint:master Nov 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment