Comment 6 for bug 635138

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

I could add a property on the daemon dbus interface of aptdaemon "CacheBroken". But you also have got a package cache instance in software center which also provides this information. So the question is if you want to show the error outside of software center as a kind of error dialog or only to show this in software center.

If there are broken dependencies you should call the FixBrokenDepends of aptdaemon. But this action can result in installing or removing a lot of packages. Especially in the case of mixed or third party repositories. So you should show the changes to the user beforehand.

Aptdaemon tries to recover from cancelled or failed installations on every install/remove/upgrade transaction. So this is handled automatically. But if the recover action fails an error message gets shown even if the secondary installation was successful.