Issues with "zypper dup --allow-vendor-chagne"

Hello,
when performing the upgrade as shown in the titles lots of problems show up:

All are similiar, here is the first one:

Problem: 1: the to be installed layer-shell-qt5-5.27.11-77.55.x86_64 requires 'libQt5Gui.so.5(Qt_5.15.16_PRIVATE_API)(64bit)', but this requirement cannot be provided
deleted providers: libQt5Gui5-5.15.16+kde130-1.6.x86_64

 Solution 1: Following actions will be done:
  keep obsolete libQt5Gui5-5.15.16+kde130-1.6.x86_64
  keep obsolete libQt5WaylandClient5-5.15.16+kde59-1.3.x86_64
  keep obsolete libQt5Network5-5.15.16+kde130-1.6.x86_64
 Solution 2: deinstallation of layer-shell-qt5-5.27.11-1.9.x86_64
 Solution 3: install layer-shell-qt5-5.27.11-77.55.i586 despite the inferior architecture
 Solution 4: break layer-shell-qt5-5.27.11-77.55.x86_64 by ignoring some of its dependencies


libQt5Gui5-5.15.16+kde130-1.6.x86_64 is installed as I can see in yast.

If I choose 1 I will be sent around in circles and if I delete the Qt5 libs KDE Plasma will not start anymore.
Is there a way to bring everything in line again?

Thanks,
Johannes

Hiya. What OpenSUSE version are you upgrading from?

When did you upgrade this system the last time?
You need to agree to remove the outdated packages.

Is there a reason why you explicitely use the --allow-vendor-change flag?

And also show your repos via zypper lr -d

Actual package versions are:

layer-shell-qt6-6.3.5-1.1
libQt5Gui5-5.15.17+kde122-1.1
libQt5WaylandClient5-5.15.17+kde57-1.1
libQt5Network5-5.15.17+kde122-1.1

@jke61 Standard support for QT5 has ended, so many things have moved to QT6 or if still QT5 fail to build…

Ref: https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/UW6BKTYQ6OX3TCFIDXAVAXVL33V65NRD/

And as you can see in the zypper output it is marked for removal in the current Tumbleweed:

I am on tumbleweed.
Sorry, forgot to say. Last Update was end of may. I usually do “zypper dup”.

Yes, long ago I moved to Plasma6 and KDE6.
Therefore I tried to delete all libs with Qt5 in the name. But then the system is not starting and I am left with Icewm

Yes, Ok, but what is the solution?
As said one thread up, letting the system delete all libs with Qt5 in the name, leaves me with a non starting system. OK, Icewm…

I don’t know how you got packages this old then. They got removed a really long time ago. Do you have any zypper locks or any library packages explicitly installed? You can check for those with:

zypper ll
zypper pa --userinstalled

They might prevent your system from removing unneeded packages.

This is a big mistake. Plasma 6 still needs many Qt5 packages. If you try to remove them manually you will uninstall the complete Plasma 6 stack.

If you had not manually removed some packages, zypper dup would flawlessly upgrade the last still needed Qt5 packages.

No they did not. They where upgraded to the versions shown in my comment in May. If you try to uninstall them you will remove Plasma. The only package which got removed and replaced is layer-shell-qt5 (replaced with layer-shell-qt6).

Ok, now having read all the answers, I did again the “zypper dup --allow-vendor-change”.
For all the problems (15) I choose to deinstall the problematic program. Sometimes this is solution 4 oder 5.
Now it upgraded and I still have Plasma6 working.

Thanks!

1 Like