On Sun, 2009-12-27 at 14:34 +0100, Terje J. Hanssen wrote:
Hi all and happy Xmas,
I have been wondering what's the difference and overlap between what 'zypper up' does and what 'zypper dup' does. At first I thought 'zypper up' did 'package updates', while 'zypper dup' did only 'distro upgrades' (like what we did from 11.1 to 11.2).
But it looks for me now as 'zypper dup' also is the command to use for single 'package upgrades', that is from one version to the next, according to my following, current case:
1. I was running 11.2 i686 and ran the following
a) zypper up - which upgraded some packages b) zypper dup - which upgraded even more packages
2. OpenOffice.org 3.1 was installed as part of 11.2. Then I added the Build Service OpenOffice.org:UNSTABLE repo with YaST to get the latest OpenOffice 3.2 (b4), and ran again:
a) zypper up - which found nothing to do b) zypper dup - which upgraded OpenOffice from 3.1 to 3.2
3. Then I entered YaST2>Software>Online_Update>Package>All_Packages>Update_if_newer_versions_are_available
Firefox 3.6 (b5) was available - but asked to solve a dependice (delete gnome vfs) before it could be installed.
Can someone clarify even more what the difference/overlap and equivalents are between zypper 'up' and 'dup' YaST2 Online_Update and Control-Center>System>Software_Update
Rgds, Terje J. Hanssen
zypper dup will update and upgrade packages even from different repositories. For example say you have libxine1 installed from the OSS repository and you have subscribed to Packman repository which has an updated version of libxine1. However zypper up will not update your libxine1 since the update is from a repository different from the installed package. zypper dup is what you will need to carry out such an update/upgrade. You can also specify repositories from which to check for dup, for example #zypper dup --from Packman That is why you will see more upgrades when using zypper dup than zypper up. Hope that clears some confusion. -- Atri -- To unsubscribe, e-mail: opensuse-testing+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-testing+help@opensuse.org