Question before upgrading to 15.5

I just did:

sudo zypper dup --dry-run

and I got:

74 Problems:
Problem: problem with the installed darktable-4.2.1-lp154.60.1.x86_64
Problem: problem with the installed python3-mechanize-0.4.8-lp154.64.1.noarch
Problem: problem with the installed wine-mono-7.4.0-lp154.56.1.noarch
Problem: problem with the installed claws-mail-4.1.1-lp154.1.3.x86_64
Problem: problem with the installed emacs-28.2-lp154.406.1.x86_64
Problem: problem with the installed emacs-info-28.2-lp154.406.1.noarch
Problem: problem with the installed emacs-x11-28.2-lp154.406.1.x86_64
Problem: problem with the installed exiftool-12.54-lp154.111.1.noarch
Problem: problem with the installed geeqie-1.7.3-lp154.60.1.x86_64
Problem: problem with the installed gegl-0_4-0.4.40-lp154.150.1.x86_64
Problem: problem with the installed gegl-0_4-lang-0.4.40-lp154.150.1.noarch
Problem: problem with the installed gimp-2.10.32-lp154.1.7.x86_64
Problem: problem with the installed gimp-lang-2.10.32-lp154.1.7.noarch
Problem: problem with the installed gimp-plugin-aa-2.10.32-lp154.1.7.x86_64
Problem: problem with the installed gimp-plugin-gmic-3.2.0-lp154.1.1.x86_64
Problem: problem with the installed gmic-3.2.0-lp154.1.1.x86_64
Problem: problem with the installed gmic-bash-completion-3.2.0-lp154.1.1.noarch
Problem: problem with the installed gmic-data-3.2.0-lp154.1.1.noarch
Problem: problem with the installed libbabl-0_1-0-0.1.98-lp154.93.1.x86_64
Problem: problem with the installed libetpan20-1.9.4-lp154.37.8.x86_64
Problem: problem with the installed libgegl-0_4-0-0.4.40-lp154.150.1.x86_64
Problem: problem with the installed libgimp-2_0-0-2.10.32-lp154.1.7.x86_64
Problem: problem with the installed libgimpui-2_0-0-2.10.32-lp154.1.7.x86_64
Problem: problem with the installed liblzma5-32bit-5.4.2-lp154.3.1.x86_64
Problem: problem with the installed libmtp-udev-1.1.20-lp154.120.8.x86_64
Problem: problem with the installed libmtp9-1.1.20-lp154.120.8.x86_64
Problem: problem with the installed libmypaint-lang-1.6.1-lp154.26.1.noarch
Problem: problem with the installed libpng16-16-1.6.39-lp154.138.1.x86_64
Problem: problem with the installed libspeechd2-0.11.1-lp154.104.19.x86_64
Problem: problem with the installed optipng-0.7.7-lp154.47.20.x86_64
Problem: problem with the installed perl-Archive-Zip-1.68-lp154.84.1.noarch
Problem: problem with the installed perl-File-RandomAccess-12.54-lp154.111.1.noarch
Problem: problem with the installed perl-Image-ExifTool-12.54-lp154.111.1.noarch
Problem: problem with the installed python3-Babel-2.10.3-lp154.92.1.noarch
Problem: problem with the installed python3-Markdown-3.3.7-lp154.2.14.noarch
Problem: problem with the installed python3-Pillow-8.4.0-lp154.2.1.x86_64
Problem: problem with the installed python3-aiocontextvars-0.2.2-lp154.2.39.x86_64
Problem: problem with the installed python3-apsw-3.35.4_r1-lp154.2.1.x86_64
Problem: problem with the installed python3-beautifulsoup4-4.10.0-lp154.2.8.noarch
Problem: problem with the installed python3-cchardet-2.1.7-lp154.14.36.x86_64
Problem: problem with the installed python3-css-parser-1.0.8-lp154.2.1.noarch
Problem: problem with the installed python3-dataclasses-0.8-lp154.1.42.noarch
Problem: problem with the installed python3-dnspython-2.2.1-lp154.3.6.noarch
Problem: problem with the installed python3-dragonmapper-0.2.6-lp154.3.1.noarch
Problem: problem with the installed python3-dukpy-kovidgoyal-0.3-lp154.8.36.x86_64
Problem: problem with the installed python3-feedparser-6.0.10-lp154.2.2.noarch
Problem: problem with the installed python3-h11-0.12.0-lp154.2.1.noarch
Problem: problem with the installed python3-html5-parser-0.4.10-lp154.41.41.x86_64
Problem: problem with the installed python3-html5lib-1.1-lp154.4.2.noarch
Problem: problem with the installed python3-idna-3.4-lp154.2.3.noarch
Problem: problem with the installed python3-ifaddr-0.2.0-lp154.2.1.noarch
Problem: problem with the installed python3-importlib-metadata-4.11.3-lp154.2.1.noarch
Problem: problem with the installed python3-loguru-0.6.0-lp154.2.1.noarch
Problem: problem with the installed python3-msgpack-1.0.4-lp154.2.1.x86_64
Problem: problem with the installed python3-netifaces-0.11.0-lp154.2.1.x86_64
Problem: problem with the installed python3-pycryptodome-3.15.0-lp154.2.2.x86_64
Problem: problem with the installed python3-python-dateutil-2.8.2-lp154.28.35.noarch
Problem: problem with the installed python3-qtwebengine-qt5-5.15.6-lp154.2.1.x86_64
Problem: problem with the installed python3-regex-2022.10.31-lp154.2.1.x86_64
Problem: problem with the installed python3-rfc3986-2.0.0-lp154.2.1.noarch
Problem: problem with the installed python3-six-1.16.0-lp154.3.1.noarch
Problem: problem with the installed python3-soupsieve-2.3.1-lp154.2.1.noarch
Problem: problem with the installed python3-speechd-0.11.1-lp154.104.19.x86_64
Problem: problem with the installed python3-texttable-1.6.4-lp154.2.1.noarch
Problem: problem with the installed python3-typing_extensions-3.10.0.2-lp154.2.1.noarch
Problem: problem with the installed python3-zeroconf-0.37.0-lp154.2.1.noarch
Problem: problem with the installed python3-zipp-3.8.1-lp154.3.5.noarch
Problem: problem with the installed speech-dispatcher-0.11.1-lp154.104.19.x86_64
Problem: problem with the installed taskwarrior-2.6.2-lp154.43.1.x86_64
Problem: problem with the installed vym-2.9.2-lp154.2.1.x86_64
Problem: problem with the installed wine-32bit-8.7-lp154.1016.1.x86_64
Problem: problem with the installed wine-8.7-lp154.1016.1.x86_64
Problem: problem with the installed wine-gecko-2.47.4-lp154.68.1.noarch
Problem: problem with the installed winetricks-20230212-lp154.39.1.x86_64

and then it asks 1 by 1 for what to do .

What would happen if I say:

Solution 2: keep obsolete ...

Then go through opi and pip to finish the updates. I already have full backupS.

Am I think along the right track or …

Thanks

Try
zypper dup --allow-vendor-change

The upgrade to 15.5 from 15.4 I would have waited at least 2 months after the official release, currently 15.5 is in RC version and all the repos you can’t find them active except the standard ones, for example I had done the 15.5 beta version installation from new with the upgrade to 15.5 RC version I am having problems with the video section…
Just take it as a personal consideration, it happened to me often to make this change for example in the various versions 42 and 15 up to 15.3, not always everything went well, but I always made them at least 2 months after the official release of the next version…, maybe a tool should be made that allows this change in a safer way, as it happens in other distros

@jambolo70 Hi, Leap 15.5 was released to day… See https://lists.opensuse.org/archives/list/project@lists.opensuse.org/thread/KULAW6UEV33HNE46GDXLECV2HUD3TAH3/

I upgraded my ADS-B system (All of 293 packages…) without problem, just follow the upgrade SDB especially for the repo key change…

And that is exactly the information needed to suggest an answer and you omitted this information. Because we have no idea what problems there are.

You you did this before you wanted to start the upgrade:

Why?

One of the things to do before an upgrade to the next LEAP version, is bringing the old version up-to-date. And that requires a zypper up.

Tried dup to 15.5, but got a nasty error:

leap154:~ # journalctl -q -u dup --identifier zypper|tail -33
Jun 08 11:15:29 leap154 zypper[3570]: (379/762) Installieren: perl-5.26.1-150300.17.3.1.x86_64 [.............fertig]
Jun 08 11:15:29 leap154 zypper[3570]: (380/762) Installieren: perl-core-DB_File-5.26.1-150300.17.3.1.x86_64 [..fertig]
Jun 08 11:15:29 leap154 zypper[3570]: (381/762) Installieren: libserf-1-1-1.3.9-2.31.x86_64 [..fertig]
Jun 08 11:15:29 leap154 zypper[3570]: (382/762) Installieren: python3-gobject-cairo-3.42.0-150400.1.48.x86_64 [..fertig]
Jun 08 11:15:29 leap154 zypper[3570]: (383/762) Installieren: python3-firewall-0.9.3-150400.7.6.noarch [...fertig]
Jun 08 11:15:29 leap154 zypper[3570]: (384/762) Installieren: python3-cryptography-2.8-10.1.x86_64 [...fertig]
Jun 08 11:15:29 leap154 zypper[3570]: (385/762) Installieren: python3-bind-9.16.20-150400.3.6.noarch [..
Jun 08 11:15:29 leap154 zypper[3570]: error: unpacking of archive failed on file /usr/lib/python3.6/site-packages/isc-2.0-py3.6.egg-info: cpio: File from package already exists as a directory in system
Jun 08 11:15:29 leap154 zypper[3570]: error: python3-bind-9.16.20-150400.3.6.noarch: install failed
Jun 08 11:15:29 leap154 zypper[3570]: error: python3-bind-9.16.38-150400.5.20.2.noarch: erase skipped
Jun 08 11:15:29 leap154 zypper[3570]: Fehler]
Jun 08 11:15:29 leap154 zypper[3570]: Installation von python3-bind-9.16.20-150400.3.6.noarch fehlgeschlagen:
Jun 08 11:15:29 leap154 zypper[3570]: Fehler: Subprocess failed. Error: RPM fehlgeschlagen: Kommando mit Status 1 beendet.
Jun 08 11:15:29 leap154 zypper[3570]: Abbrechen, wiederholen, ignorieren? [a/w/i] (a): a
Jun 08 11:15:29 leap154 zypper[3570]: Warnung: %posttrans scripts skipped while aborting:
Jun 08 11:15:29 leap154 zypper[3570]:     ca-certificates-mozilla-2.44-21.1.noarch.rpm
Jun 08 11:15:29 leap154 zypper[3570]:     login_defs-4.8.1-150400.8.57.noarch.rpm
Jun 08 11:15:29 leap154 zypper[3570]:     systemd-presets-common-SUSE-15-150100.8.12.1.noarch.rpm
Jun 08 11:15:29 leap154 zypper[3570]:     ucode-amd-20220119-150400.2.3.noarch.rpm
Jun 08 11:15:29 leap154 zypper[3570]:     ucode-intel-20220207-10.1.x86_64.rpm
Jun 08 11:15:29 leap154 zypper[3570]:     sg3_utils-1.47+4.82fb156-150400.1.11.x86_64.rpm
Jun 08 11:15:29 leap154 zypper[3570]:     e2fsprogs-1.46.4-150400.1.80.x86_64.rpm
Jun 08 11:15:29 leap154 zypper[3570]:     rpm-4.14.3-150300.46.1.x86_64.rpm
Jun 08 11:15:29 leap154 zypper[3570]:     shadow-4.8.1-150400.8.57.x86_64.rpm
Jun 08 11:15:29 leap154 zypper[3570]:     kbd-2.4.0-150400.3.5.x86_64.rpm
Jun 08 11:15:29 leap154 zypper[3570]:     dbus-1-1.12.2-150400.16.52.x86_64.rpm
Jun 08 11:15:29 leap154 zypper[3570]:     util-linux-2.37.2-150400.6.26.x86_64.rpm
Jun 08 11:15:29 leap154 zypper[3570]:     java-11-openjdk-headless-11.0.15.0-150000.3.80.1.x86_64.rpm
Jun 08 11:15:29 leap154 zypper[3570]:     openSUSE-release-15.4-lp154.153.1.x86_64.rpm
Jun 08 11:15:29 leap154 zypper[3570]:     udev-249.11-150400.6.8.x86_64.rpm
Jun 08 11:15:30 leap154 zypper[3570]: Während oder nach der Installation/dem Entfernung von Paketen ist ein Problem aufgetreten:
Jun 08 11:15:30 leap154 zypper[3570]: Die Installation wurde gemäß Anweisung abgebrochen.
Jun 08 11:15:30 leap154 zypper[3570]: In der Fehlermeldung oben finden Sie einen entsprechenden Hinweis.
leap154:~ # 

Upon zypper failing it’s broken:

leap154:~ # zypper
zypper: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib64/libzypp.so.1722)
leap154:~ # 

Rollback required.

There is no problem. I was asking question:

WHEN I will do my upgrade, I will encounter these problems. What's the best way of dealing with them?

That’s all

I was NOT trying to do the actual upgrade. I just wanted to see how the upgrade would go IF i did it or IF it would be something more involved. And get prepared.

Use --allow-vendor-change

As long as you do not use the 15.5 repos for that test, it is rather useless in my opinion.

Checked some prerequisites for successful upgrade:

  1. Run version 15.4 zypper update
  2. Create canonical list of repos:
leap154:~ # zypper --releasever 15.4 repos -E
#  | Alias                 | Enabled | GPG Check | Priority | URI
---+-----------------------+---------+-----------+----------+------------------------------------------------------------------
 2 | openSUSE-Leap-oss     | Yes     | (r ) Yes  |   99     | http://download.opensuse.org/distribution/leap/15.4/repo/oss/
 5 | repo-backports-update | Yes     | (r ) Yes  |   99     | http://download.opensuse.org/update/leap/15.4/backports/
10 | repo-non-oss          | Yes     | (r ) Yes  |   99     | http://download.opensuse.org/distribution/leap/15.4/repo/non-oss/
13 | repo-sle-update       | Yes     | (r ) Yes  |   99     | http://download.opensuse.org/update/leap/15.4/sle/
15 | repo-update           | Yes     | (r ) Yes  |   99     | http://download.opensuse.org/update/leap/15.4/oss
16 | repo-update-non-oss   | Yes     | (r ) Yes  |   99     | http://download.opensuse.org/update/leap/15.4/non-oss/
leap154:~ # 
  1. zypper -n dist-upgrade --allow-vendor-change
  2. Remove unneeded packages : zypper packages --unneeded | grep ^i|cut -d '|' -f3|xargs zypper rm --clean-deps
  3. Download and check for conflicts zypper --releasever=15.5 dist-upgrade -dD.
  4. Run upgrade as a service:
leap154:~ # systemctl cat dup-15.5
# /etc/systemd/system/dup-15.5.service
[Unit] 
Description=Distribution Upgade to 15.5

[Service] 
ExecStart=/usr/bin/zypper --releasever 15.5 --non-interactive dist-upgrade
leap154:~ # 

After reboot:

Operating System: openSUSE Leap 15.5
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 5.14.21-150500.53-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700K CPU @ 4.00GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530

Enabled repo packman:

eap155:~ # zypper repos -E
#  | Alias                 | Enabled | GPG Check | Priority | URI
---+-----------------------+---------+-----------+----------+------------------------------------------------------------------
 3 | packman               | Yes     | (r ) Yes  |   90     | http://ftp.fau.de/packman/suse/openSUSE_Leap_15.4
 2 | openSUSE-Leap-oss     | Yes     | (r ) Yes  |   99     | http://download.opensuse.org/distribution/leap/15.5/repo/oss/
 5 | repo-backports-update | Yes     | (r ) Yes  |   99     | http://download.opensuse.org/update/leap/15.5/backports/
10 | repo-non-oss          | Yes     | (r ) Yes  |   99     | http://download.opensuse.org/distribution/leap/15.5/repo/non-oss/
13 | repo-sle-update       | Yes     | (r ) Yes  |   99     | http://download.opensuse.org/update/leap/15.5/sle/
15 | repo-update           | Yes     | (r ) Yes  |   99     | http://download.opensuse.org/update/leap/15.5/oss
16 | repo-update-non-oss   | Yes     | (r ) Yes  |   99     | http://download.opensuse.org/update/leap/15.5/non-oss/
leap155:~ # 

… and duped with vendor change:

leap155:~ # zypper --non-interactive dup --allow-vendor-change --dry-run
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...

The following 18 packages are going to be upgraded:
  libavcodec57 libavcodec58_134 libavdevice58_13 libavfilter7_110 libavformat58_76 libavresample4_0 libavutil55 libavutil56_70 libfdk-aac2 libheif1 libpostproc55_9 libswresample2 libswresample3_9 libswscale5_9 libtag1
  vlc-codec-gstreamer vlc-lang vlc-vdpau

The following 18 packages are going to change vendor:
  libavcodec57         SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  libavcodec58_134     SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  libavdevice58_13     SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  libavfilter7_110     SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  libavformat58_76     SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  libavresample4_0     SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  libavutil55          SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  libavutil56_70       SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  libfdk-aac2          SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  libheif1             SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  libpostproc55_9      SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  libswresample2       SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  libswresample3_9     SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  libswscale5_9        SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  libtag1              SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
  vlc-codec-gstreamer  openSUSE -> http://packman.links2linux.de
  vlc-lang             openSUSE -> http://packman.links2linux.de
  vlc-vdpau            openSUSE -> http://packman.links2linux.de

The following 9 NEW packages are going to be installed:
  libde265-0 libopencore-amrnb0 libopencore-amrwb0 librtmp1 libvidstab1_1 libvo-amrwbenc0 libx264-164 libx265-199 libxvidcore4

18 packages to upgrade, 9 new, 18  to change vendor.
Overall download size: 0 B. Already cached: 19.9 MiB. After the operation, additional 33.3 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y

Checking for file conflicts: .........................................................................................................................................................................................................[done]
leap155:~ #