New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 865083 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner:
Closed: Jul 26
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Provide an option to cancel a .deb install in progress

Project Member Reported by jkardatzke@chromium.org, Jul 18

Issue description

We want to provide a Cancel button on the notification during Debian package install from .deb files. First thing is to verify how this functionality actually works in PackageKit (there is a Cancel call for transactions) to see if that actually rolls back what has happened (they call it a transaction, so you would expect that) or if it's actually a hard stop with no rollback. If it's the latter then we won't proceed, but if it's the former than we can do it.
 
Components: OS>Systems>Containers
Cc: chirantan@chromium.org dgreid@chromium.org
Status: WontFix (was: Assigned)
I did a test with this today and I don't think we should implement this option. If you execute Cancel on a PackageKit transaction in progress...it just totally stops the operation where it is at with no rollback whatsoever. You can't even do a remove on the package after that...you need to do a 'sudo dpkg --configure -a' to fix the problem (which ends up completing the install) and then you can remove it after that.  Also if we allow cancel, dpkg is in a broken state, blocking all other installs until 'sudo dpkg --configure -a' is run. There doesn't seem to be a useful way of implementing this that doesn't cause the Cancel operation to be anything other than allowing the install to complete and then doing an uninstall at that point (which isn't really Cancel..and if we can't do a real Cancel, we shouldn't show that button).
Cc: sbroslawsky@chromium.org
Thanks for investigating Jeff, +Sudha as FYI.

Sign in to add a comment