[packagekit] Role Proposal RepairSystem and SimulateRepairSystem

Sebastian Heinlein glatzor at ubuntu.com
Sun Dec 4 04:26:53 PST 2011


Am Sonntag, den 04.12.2011, 11:23 +0000 schrieb Richard Hughes:
> On 4 December 2011 11:19, Sebastian Heinlein <glatzor at ubuntu.com> wrote:
> > It would be nice to have a set of a high level method to repair a broken
> > system. On the APT side we can recover from two situations:
> >
> > * a failed/cancelled installation by running "dpkg -configure -a" to
> > complete the postinstallation scripts
> > * broken dependencies - APT provides a method to recover from this by
> > installing/removing packages
> 
> Yup, yum has the same problems, if the user didn't complete the update
> (and so we have duplicate packages installed) and also if the user
> manually used rpm --force on the command line. I think two methods to
> do this would make quite a lot of sense.

So you would like to have separate methods for fixing cancelled
installations and fixing dependencies?

SimulateRepairDepends()
RepairDepends(only_trusted)
RepairInstallation()

And corresponding error messages?

error-broken-dependencies
error-incomplete-installation

Cheers,

Sebastian






More information about the PackageKit mailing list