On Tuesday 04 August 2009 20:45:41 Elmar Stellnberger wrote:
Zypper -dup may choose to remove important user programs if it can not satisfy its dependencies. This is especially the case if zypper wants to switch the arch of certain packages as in Bug 506801 (https://bugzilla.novell.com/show_bug.cgi?id=506801).
Where you did a 'zypper dup --repo myrepo', and several packages got deleted because the solver assumes they are orphaned. This happens because --repo currently hides all repos except myrepo from the solver. A few days ago I wrote about the new Resolver::addUpgradeRepo which is intended to solve this problem. With this call the solver is aware of all repos and should be able to make better decisions. What bothers me more than the content of /etc/zypp/systemCheck (which is a user config file), is the question whether it is actually worth to keep the old 'zypper dup --repo' behaviour? It's a shortcut for disble all repos except myrepo zypper dup enable the repos again IMO this is not a feature, but just worked around a missing functionality in the solver. Now as the functionality is present, I'd prefer to fix '--repo' instead on introducing a new '--form' option. I wouldn't consider this as breaking backward compatibility, but fixing a buggy and dangerous behavior. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org