https://bugzilla.novell.com/show_bug.cgi?id=210552 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lslezak@novell.com, ma@novell.com Info Provider|lslezak@novell.com |kkaempf@novell.com ------- Comment #20 from lslezak@novell.com 2006-11-10 02:59 MST ------- The problem with uninstalling packages could be solved using Pkg::PkgNeutral(), but I think that the problem should be solved in a better way. I just have tested a possibility of using zypp::storage::PersistentStorage directly. Using the storage it's possible to operate on the libzypp DB level (something like "rpm --justdb" as is mentioned in comment #17) and remove resolvables without touching the filesystem (except the DB). I propose a new pkg-binding Pkg::TargetStoreRemove(symbol kind), which will remove all resolvables of the kind (e.g. `patch, `selection). If we do not want global remove I can add "name" parameter. To remove the selection from the updated system we would use Pkg::TargetStoreRemove(`selection). But I'm not sure about patches, if they add new files to the system they should be probably cleanly uninstalled (using Pkg::ResolvableRemove). Someone from zypp team should comment my solution... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.