Results 1 to 4 of 4

Thread: Difference between zypper up & zypper dup?

  1. #1
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    88

    Default Difference between zypper up & zypper dup?

    Hello, Guys

    I got a little question about zypper here. When I run zypper up and there is nothing to do. However when I run zypper dup, it shows me several upgrades. So I am just wondering whats the difference between these two command options? I checked zypper manual, but it only give brief explanation. So is it safe to use dup for normal update or upgrade?

    Thanks,

  2. #2
    Join Date
    Jun 2008
    Location
    PHX
    Posts
    481

    Default Re: Difference between zypper up & zypper dup?

    Well....the -dup option uses a different algorithm, but out of curiousity what happens when you run -up with this option:

    # zypper up --type package
    <>---><^>

  3. #3
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    88

    Default Re: Difference between zypper up & zypper dup?

    Quote Originally Posted by Cryovac View Post
    Well....the -dup option uses a different algorithm, but out of curiousity what happens when you run -up with this option:

    # zypper up --type package
    Thanks for the info, however is it possible to explain it more detailed?

  4. #4
    Join Date
    Jun 2008
    Location
    Brisbane, Australia
    Posts
    207

    Default Re: Difference between zypper up & zypper dup?

    zypper needs "rug compatibility mode" so some/one of the following:
    #zypper -r up
    #zypper -r lu

    dup upgrades a lot of different packages, and may remove some too. Designed to better upgrade a full "distribution" (hence "d")

Tags for this Thread

Posting Permissions

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