Good Reddit thread regarding updating Tumbleweed: difference between zypper up (zypper update) and zypper dup (zypper dist-upgrade) repository priorities and more
Posted by jpluimers on 2024/12/02
Sometimes the best information is outside vendor forums. I think it is the case for this Reddit thread: [Wayback/Archive] Regarding updating Tumbleweed; what is the best way to do it? Appper, zypper dup, zypper up. Which one am i supposed to use? Should i be worried about the vendor changes? And why do i get a message when using ‘zypper up’ saying “The following 35 package updates will NOT be installed”? : openSUSE
Note that specific to openSuSE Tumbleweed you should prefer zypper distr-upgrade over zypper update as per [Wayback/Archive] TUMBLEWEED zypper dup default behavior changed: what is the difference to zypper up?
Be aware this thread is about Tumbleweed, the method to update is byusing dup since it’s a new snapshot. At this point it’s your choice toupdate or not depending on your requirements. If your running out ofkernel modules supplied by third parties, then your tied to theirschedule…. Using zypper up will in the long term create more issuesas well as not supported.
This is especially true as --no-allow-vendor-change has been the default for zypper dist-upgrade for almost a decade now: [Wayback/Archive] PSA: Tumbleweed: –no-allow-vendor-change now default zypper dup behaviour : openSUSE
[Wayback/Archive] Re: [opensuse-factory] dup –no-allow-vendor-change is now default – openSUSE Factory – openSUSE Mailing Lists
On Sun, 2017-07-09 at 22:54 +0200, Dominique Leuenberger wrote:Packages changed: libzypp (16.12.0 -> 16.13.0)==== libzypp ==== Version update (16.12.0 -> 16.13.0)
- Adapt loop mounting of iso images (bsc#1038132, bsc#1033236)
- Adjust zypp.conf for openSUSE Tumbleweed (bsc#1031756)
^^^^ This change hides the switch of the default for zypper dup: after this update, zypper dup will default to –no-allow-vendor-change, which has been the recommended way for Tumbleweed for a long time now.NOTE: This will ONLY update your default configuration if you did not touch /etc/zypp/zypp.conf – If you had local modifications, rpm will have put a file NEXT to it (zypp.conf.rpmnew), in which case you have to adjust the settings manually (or you likely already did)Hope this will eliminate a good part of the issues people kept on reporting about updates – bringing Tumbleweed one step closer to what you expect it to do in all situations.
–jeroen






Leave a comment