Results 1 to 6 of 6

Thread: zypper up or dup

  1. #1

    Default zypper up or dup

    Hi!

    I have suse 11.

    Should I use "zypper up" od "dup" command ?
    Which is safe ?

    Thanks

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: zypper up or dup

    I think you don't want to use dup; that's a new feature for example upgrading 11.0 to 11.1 (when it becomes available) I believe. I've always used up.

  3. #3
    Join Date
    Jan 2008
    Location
    Kenton, TN USA
    Posts
    1,023

    Default Re: zypper up or dup

    Thread moved to Applications
    Last edited by kastorff; 11-Jul-2008 at 08:39.
    Keith Kastorff

  4. #4
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    1,273

    Default Re: zypper up or dup

    Quote Originally Posted by ken_yap View Post
    I think you don't want to use dup; that's a new feature for example upgrading 11.0 to 11.1 (when it becomes available) I believe. I've always used up.
    Ken-yap, that only holds true if you have the factory repository listed (zypper lr). -I think- Have been using up & dup happily so far, if I get burned you'll be the first to know.. *GRINN*

    @miroslavmarecic : I'm not sure what exact difference there is between up and dup, but I'm rooting for the security/critical updates (up) and recommended and general updates from official openSUSE repros (dup).

    There has been some discussion about this and it would be nice if one of the developers finds some time to elaborate on the zypper functions. Starting 10.3 & 11.0 there have been many additions to what zypper can do.

    Cheers,
    Wj
    Have a lot of fun!

  5. #5
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: zypper up or dup

    Well the man page for zypper said this:

    dist-upgrade (dup) [options] Perform a distribution upgrade. This command performs an update of all packages with a special resolver algorithm which takes care of package splits, pattern and product updates, etc.
    To me that sounds ominously like Debian's dist-upgrade. Things like package splits happen at version changes. But you're are probably right that you need certain repos registered for a dist-upgrade. Well do send us some updates about 11.1alpha.

  6. #6

    Default Re: zypper up or dup

    Code:
    # LANG=C zypper -v up -t package
    Verbosity: 1
    Initializing Target
    Checking whether to refresh metadata for Emulators
    Checking whether to refresh metadata for VideoLan Repository
    Checking whether to refresh metadata for openSUSE Education
    Checking whether to refresh metadata for Packman Repository
    Checking whether to refresh metadata for openSUSE-11.0-Updates
    Checking whether to refresh metadata for openSUSE.org tools
    Checking whether to refresh metadata for NVIDIA Repository
    Checking whether to refresh metadata for BuildService de openSUSE - Revisiones CVS de Wine
    Checking whether to refresh metadata for RedDwarf's Home Project
    Checking whether to refresh metadata for openSUSE BuildService - Games
    Reading installed packages...
    Force resolution: No
    Resolving dependencies...
    Nothing to do.
    # LANG=C zypper -v dup
    Verbosity: 1
    Initializing Target
    Checking whether to refresh metadata for Emulators
    Checking whether to refresh metadata for VideoLan Repository
    Checking whether to refresh metadata for openSUSE Education
    Checking whether to refresh metadata for Packman Repository
    Checking whether to refresh metadata for openSUSE-11.0-Updates
    Checking whether to refresh metadata for openSUSE.org tools
    Checking whether to refresh metadata for NVIDIA Repository
    Checking whether to refresh metadata for BuildService de openSUSE - Revisiones CVS de Wine
    Checking whether to refresh metadata for RedDwarf's Home Project
    Checking whether to refresh metadata for openSUSE BuildService - Games
    Reading installed packages...
    
    The following packages are going to be upgraded:
      SDL_Pango-0.1.2-165.1.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      SDL-1.2.13-58.1.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      frozen-bubble-server-2.1.0_20080623-128.2.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      allegro-devel-4.2.2-7.2.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      SDL-devel-1.2.13-58.1.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      SDL_mixer-1.2.8-107.1.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      frozen-bubble-2.1.0_20080623-128.2.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      allegro-4.2.2-7.2.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      SDL_gfx-2.0.17-2.2.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      SDL_mixer-devel-1.2.8-107.1.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
    
    
    The following packages are going to change vendor:
      SDL_Pango-0.1.2-165.1.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      SDL-1.2.13-58.1.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      frozen-bubble-server-2.1.0_20080623-128.2.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      SDL-devel-1.2.13-58.1.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      SDL_mixer-1.2.8-107.1.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      frozen-bubble-2.1.0_20080623-128.2.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      SDL_gfx-2.0.17-2.2.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
      SDL_mixer-devel-1.2.8-107.1.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
    
    
    Overall download size: 21.7 M. After the operation, 69.0 K will be freed.
    Continue? [YES/no]: no
    zypper dup ignores repository priorities, so I would not use it if isn't needed.
    I expect Packman and Build Service repo to do things like package splits... but so far no problem with "up -t package".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •