Results 1 to 7 of 7

Thread: zypper dup has many changes from leap 42.3

  1. #1

    Default zypper dup has many changes from leap 42.3

    I have a fully updated leap 42.3 installation. When examining zypper dup it says there are
    24 new packages
    7 to be removed packages (including my nvida drivers)
    64 packages to be upgraded
    64 packages to change vender.

    Is this advisable to do? What am I upgrading to?
    I see no replacement for the nvida drivers. That worries me.

    Thanks for any advice,

    Tom Kosvic

  2. #2
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    4,067

    Default AW: zypper dup has many changes from leap 42.3

    Post the complete output here in Code-Tags.

    Also
    Code:
    zypper lr -d

  3. #3
    Join Date
    Jun 2015
    Location
    Toulouse
    Posts
    129

    Default Re: zypper dup has many changes from leap 42.3

    hello :-)

    Why should you dup a fully updated 42.3 install? dup is good to upgrade (to 15?) or for tumbleweed

    the difference is probably related to vendor changes. If you have packman may be it could be useful to use yast repo view, "upadate all packages to this repo" (link on the upper part of the window)

    jdd

  4. #4
    Join Date
    Sep 2012
    Posts
    5,230

    Default Re: zypper dup has many changes from leap 42.3

    Quote Originally Posted by tckosvic View Post
    64 packages to change vender.

    Is this advisable to do?
    No. On Leap "zypper dup" will by default install newest version of each package found across all enabled repositories. Meaning it can replace packages with incompatible versions that happen to be present somewhere, even if you did not intend to do it. Normally there is no need to use "dup" when updating Leap installation; in exceptional cases always run it with "--no-allow-vendor-change".

  5. #5
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,890
    Blog Entries
    3

    Default Re: zypper dup has many changes from leap 42.3

    Quote Originally Posted by tckosvic View Post
    Is this advisable to do?
    No, it isn't.

    What am I upgrading to?
    You would be upgrading from 42.3 to 42.3. In principle, that should be okay.

    I see no replacement for the nvida drivers. That worries me.
    That's one of the reasons that the change is not advisable. Strictly speaking, the nvidia drivers are not part of 42.3. You chose to add them. By "zypper dup" cannot read your mind.

    Anyway, just for the heck of it, I tried "zypper dup" (but said "no" to actually making the changes).

    It showed 7 vendor-changes. They were all from "packman" to "opensuse". Since I have "packman" at a better priority (98 instead of 99), it should not do that unless there's a good reason. So perhaps those packages are no longer in packman. This could be due to the expiry of the patent restrictions on MP3 codecs. So I might look into manually making those changes anyway. The first on the list is "lame", and it seems to have disappeared from packman, but shown up in the update repo.

    It also wanted to install "lifecycle-data-openSUSE". I'll have to look into what that is, though it is probably a list of end-of-support dates.

    Personally, I would be cautious of blindly using "zypper dup" on a standard release (not counting Tumbleweed). But if you use it just as a dry run, to review packages that you should examine, then that can make sense .
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,484
    Blog Entries
    2

    Default Re: zypper dup has many changes from leap 42.3

    I run "zypper dup" on non-TW openSUSE if I find the system is suffering from some kind of internal inconsistency... really basic stuff that should work but isn't, and in particular if the kernel and kernel-devel won't match, and if "zypper up" does not solve those problems.

    Those situations are few and far in between, so I do this very rarely.

    And, of course I run that command if I'm truly migrating from one major openSUSE version or release to another.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  7. #7
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: zypper dup has many changes from leap 42.3

    zypper dup on LEAP should be run only when doing a full vendor change to a particular repo using the --from switch for example
    Code:
    zypper dup --from packman
    or when doing an OS upgrade with a minimal amount of installed repo's (only the default 4 repos: OSS, non-OSS, update-OSS, update-non-OSS) running zypper dup when having a lot of enabled repo's will install the newest versions of packages from any repo they're found and if you have extra repositories will most certainly break your OS
    unlike LEAP TW uses repo stickiness and running zypper dup will not change package vendors the equivalent LEAP command would be
    Code:
    zypper dup --no-allow-vendor-change
    which would be more or less the same as running
    Code:
    zypper up

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
  •