Ladislav Slezak schrieb:
Hi all,
zypp::UpgradeOptions() had 'delete_unmaintained' flag for removing unmaintained packages. But it's gone now. Why? How can we remove unmaintained packages now?
We have had this discussion on zypp-devel: http://lists.opensuse.org/zypp-devel/2008-02/msg00138.html and come to the conclusion to remove this flag.
The reason is: "gcc42 is explicitly not obsoleted, but only people that explicitly want to keep it should be able to do so" and "and any kind of package obsolete would do hard erase it"
Coolo suggested adding a fixed list ("gcc42"...) somewhere into yast (probably into control.xml file). But maintaining a fixed list is wrong solution IMO...
That's the only way to solve this "problem". You do not want to delete ALL unmaintained packages but special packages only.
Should I implement the behavior in pkg-bindings level or is it possible to put it back to libzypp? What did the option do exactly?
It should be solved outside of libzypp by setting delete request for each solvable. The current bahaviour of libzypp is described in the thread above. Greetings Stefan -- ******************************************************************************* Stefan Schubert SUSE LINUX GmbH - Maxfeldstrasse 5 - D-90409 Nuernberg, Germany e-mail: schubi@suse.de ------------------------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org