On Thu, May 06, 2010 at 01:02:54PM -0400, John E. Perry wrote:
I've been in the habit of running "zypper dup" because I started it when I upgraded to kde4.3. I had the idea (mistaken?) that zypper dup was somehow more thorough than zypper up, but list comments seem to indicate that it's somewhat unsafe for less deeply knowledgable people like me.
Zypper dup is like zypper up except for two differences - it makes sure that all packages come from the repositories - it ignores vendor/arch/version constrains It basically is like writing down a list of all installed packages and then doing a fresh install with package names.
I just decided to try a "zypper up", and it's happily updating some of my software, but I'm wondering if it's altogether a good idea to start using "up" after several months of using "dup".
As 'zypper up' has more constrained that zypper dup you can't do something wrong. It's designed to do only "safe" things.
The only thing I'm fairly sure of is that "up" won't change vendors, while "dup" will. Is it indeed safe to leave the present set of vendorsalone and just use "up" from now on?
It shouldn't do any harm. It just won't do anything if it runs into problems.
I haven't had any serious problem using "dup", but it frequently complains that it can't find a source for some library or other, and I have to blindly tell it to downgrade without knowing for sure what the effects will be.
Will "zypper up" eliminate or reduce these complaints?
"zypper up" never complains. It just doesn't do anything ;-)
am I likely to run into trouble changing to "zypper up"?
--oops! Just hit a problem I don't remember having seen before:
--------------------------------------------------------------
Installing: java-1_6_0-openjdk-1.6.0.0_b17-2.1.1 [error] Installation of java-1_6_0-openjdk-1.6.0.0_b17-2.1.1 failed: (with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/lib/jvm/java-1.6.0-openjdk-1.6.0/demo/applets: cpio: rename failed - Is a directory
Abort, retry, ignore? [a/r/i] (a):
Ooooh, that's bad. Somebody replaced a directory with a file or symlink. Rpm can't handle that case, thus it's a packaging bug. I would simply do a 'rm -rf /usr/lib/jvm/java-1.6.0-openjdk-1.6.0/demo/applets' if it doesn't contain anything you need. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org