[packagekit] Yum backend package removing

Richard Hughes hughsient at gmail.com
Mon Oct 1 15:45:54 PDT 2007


I just tried to remove nautilus using pk-application. As RemovePackage
is called with force=FALSE it should fail if other packages have to be
removed as they depends on the package.

What I expected is an error "Could not remove nautilus as evice depends
on this package", not a lot of packages being removed from my system.

If a user really want to nuke a package (and programs requiring it), a
user can manually remove the deps or just force it on the command line.
In the future there will be a warning in the UI that removing over
programs is needed (before the error).

The rationale for the force=false flag is that a simple method should
not nuke the system, i.e. removing glibc.

Can a yum/python dude sort this please? Thanks guys.

Richard.





More information about the PackageKit mailing list