On Thursday 22 September 2011 21:43:32 Dave Plater wrote:
the above mentioned repo to my x86_64 11.4 system. A test "zypper -v dup -r plalily" today has alarmed me as it
NEVER do "zypper -v dup -r <repo>" unless you really want what it's doing. The resolver roughly classifies installed packages into 'wanted' and 'unwanted' (maybe someone has better words for it): If some package (or an update candidate for it) is provided by some repo, it is 'wanted'. If it is not, it's considered to be 'unwanted', 'orphaned' or 'dropped' - A leftover of ancient times, still installed on the system because it did not make trouble. If it makes trouble it can be removed. Now 'zypper -r <repo>' turns of all repositories except for '<repo>'. Thus the solver will consider all installed packages originating from other repos as being 'unwanted'. If dependency problems occur, the solver is not able to resolve them with packages from other (core) repos, because he does not see those repos. So the solver will consider removing 'unwanted' packages involved in the conflict. This is most probably not what you want. "zypper -r" is usefull when searching, as it reduces the time spent on loading repos. When installing packages it's use is very limited, and it should not be used unattended. You probably want: 'zypper dup --from <repo>' Replace all installed packages, which are provided by this repo, with the best version from this repo. In this mode all your other repos are visible to the solver, so no packages will accidentally be classified as 'unwanted'. The solver will also be able to pick missing dependencies from other repos, rather than considering to remove the unresolvable parts. The solver will not remove 'wanted' packages, if he had to in order to perform the job, a conflict will be generated and you have to approve it. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) 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