Advice on upgrade 20220928: qt5 libraries

A fairly important update was pushed today with many changes to Qt5. Running

zypper dup

in one of my machines was no problem. But in another machine (with very similar installation) I encountered a large sequence of conflicts. Following the “deinstallation” recommendation leads to a long change of suggested changes including uninstallation of things like kate, gwenview, etc. I did not pursue the upgrade. Perhaps someone can better explain me whats is going on here. Any ideas?

Thanks in advance!

# zypper dup
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...
5 Problems:
Problem: the installed libQt5Xdg3-3.9.1-1.5.x86_64 requires 'libQt5Core.so.5(Qt_5.15.5_PRIVATE_API)(64bit)', but this requirement cannot be provided
Problem: the installed libQt5XdgIconLoader3-3.9.1-1.5.x86_64 requires 'libQt5Gui.so.5(Qt_5.15.5_PRIVATE_API)(64bit)', but this requirement cannot be provided
Problem: the installed libQt5Gui5-5.15.5+kde166-1.3.x86_64 requires 'libQt5DBus5 = 5.15.5+kde166', but this requirement cannot be provided
Problem: the installed libQt5Xdg3-3.9.1-1.5.x86_64 requires 'libQt5Core.so.5(Qt_5.15.5_PRIVATE_API)(64bit)', but this requirement cannot be provided
Problem: the installed libQt5Xdg3-3.9.1-1.5.x86_64 requires 'libQt5Core.so.5(Qt_5.15.5_PRIVATE_API)(64bit)', but this requirement cannot be provided

Problem: the installed libQt5Xdg3-3.9.1-1.5.x86_64 requires 'libQt5Core.so.5(Qt_5.15.5_PRIVATE_API)(64bit)', but this requirement cannot be provided
  deleted providers: libQt5Core5-5.15.5+kde166-1.3.x86_64
 Solution 1: deinstallation of libQt5Xdg3-3.9.1-1.5.x86_64
 Solution 2: keep obsolete libQt5Core5-5.15.5+kde166-1.3.x86_64
 Solution 3: break libQt5Xdg3-3.9.1-1.5.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/3/s/r/c/d/?] (c): c

Most likely a dependency didn’t build correctly. In this case my preference is to wait a few days until it is fixed.

Commenting on options:
1 - most useful when an update brings a conflict i.e. tlp vs power-profiles-daemon so one needs to be removed
2 - mostly good on short term (a dep didn’t build) if there’s a need to follow through with other updates but this isn’t exactly supported on TW (no partial updates)
3 - probably not a good idea, this tells the system you know more than the packagers

This happened on that machine because you have a package that needs this dependency while the other machine doesn’t. You didn’t mention if both are Plasma. Anyway, do nothing or at most, pick option 2.

Let dist-upgrade do what it needs to do anyway:

**erlangen:~ #** zypper --non-interactive dup --allow-downgrade --allow-vendor-change --download-only --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 12 packages are going to be upgraded:
  libQt5Quick3D5 libQt5Quick3DAssetImport5 libqt5-qtdoc-qch libqt5-qtquick3d-devel libqt5-qtquick3d-tools libqt5-qttranslations openSUSE-release openSUSE-release-appliance-custom powertop powertop-lang python310-hstspreload 
  python38-hstspreload 

The following product is going to be upgraded:
  openSUSE Tumbleweed  20220928-0 -> 20220929-0 

12 packages to upgrade. 
Overall download size: 0 B. Already cached: 99.2 MiB. Download only. 
**Continue? [y/n/v/...? shows all options] (y): **y 
In cache libQt5Quick3D5-5.15.6+kde1-1.1.x86_64.rpm                                                                                                                                                      (1/12), 760.2 KiB (  2.5 MiB unpacked) 
In cache libQt5Quick3DAssetImport5-5.15.6+kde1-1.1.x86_64.rpm                                                                                                                                           (2/12), 222.5 KiB (743.1 KiB unpacked) 
In cache libqt5-qtdoc-qch-5.15.6-1.1.noarch.rpm                                                                                                                                                         (3/12),  92.4 MiB (112.9 MiB unpacked) 
In cache libqt5-qttranslations-5.15.6+kde2-1.1.x86_64.rpm                                                                                                                                               (4/12),   1.9 MiB ( 14.5 MiB unpacked) 
In cache openSUSE-release-appliance-custom-20220929-1855.1.x86_64.rpm                                                                                                                                   (5/12),   7.5 KiB (   79   B unpacked) 
In cache powertop-2.15-1.1.x86_64.rpm                                                                                                                                                                   (6/12), 200.5 KiB (481.4 KiB unpacked) 
In cache python310-hstspreload-2022.9.1-1.1.noarch.rpm                                                                                                                                                  (7/12),   1.2 MiB (  2.8 MiB unpacked) 
In cache python38-hstspreload-2022.9.1-1.1.noarch.rpm                                                                                                                                                   (8/12),   1.2 MiB (  2.8 MiB unpacked) 
In cache libqt5-qtquick3d-tools-5.15.6+kde1-1.1.x86_64.rpm                                                                                                                                              (9/12),  43.2 KiB (106.8 KiB unpacked) 
In cache openSUSE-release-20220929-1855.1.x86_64.rpm                                                                                                                                                   (10/12),   1.3 MiB (230.7 KiB unpacked) 
In cache powertop-lang-2.15-1.1.noarch.rpm                                                                                                                                                             (11/12),  24.3 KiB ( 43.0 KiB unpacked) 
In cache libqt5-qtquick3d-devel-5.15.6+kde1-1.1.x86_64.rpm                                                                                                                                             (12/12),  44.2 KiB (120.7 KiB unpacked) 

Checking for file conflicts: ...........................................................................................................................................................................................................[done] 
**erlangen:~ #**

Done:

**erlangen:~ #** journalctl --since 16:00 -u dupa --identifier zypper --no-pager  
Sep 30 16:32:11 erlangen zypper[12154]: Loading repository data... 
Sep 30 16:32:11 erlangen zypper[12154]: Reading installed packages... 
Sep 30 16:32:11 erlangen zypper[12154]: 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 c
ommand. 
Sep 30 16:32:11 erlangen zypper[12154]: Computing distribution upgrade... 
Sep 30 16:32:11 erlangen zypper[12154]: The following 12 packages are going to be upgraded: 
Sep 30 16:32:11 erlangen zypper[12154]:   libqt5-qtdoc-qch libqt5-qtquick3d-devel libqt5-qtquick3d-tools libqt5-qttranslations libQt5Quick3D5 libQt5Quick3DAssetImport5 openSUSE-release openSUSE-release-appliance-custom powertop powertop-l
ang python310-hstspreload python38-hstspreload 
Sep 30 16:32:11 erlangen zypper[12154]: The following product is going to be upgraded: 
Sep 30 16:32:11 erlangen zypper[12154]: openSUSE Tumbleweed 
Sep 30 16:32:11 erlangen zypper[12154]:   20220928-0 -> 20220929-0 
Sep 30 16:32:11 erlangen zypper[12154]: 12 packages to upgrade. 
Sep 30 16:32:11 erlangen zypper[12154]: Overall download size: 0 B. Already cached: 99.2 MiB. After the operation, additional 1.8 MiB will be used. 
Sep 30 16:32:11 erlangen zypper[12154]: Continue? [y/n/v/...? shows all options] (y): y 
Sep 30 16:32:14 erlangen zypper[12154]: In cache libQt5Quick3D5-5.15.6+kde1-1.1.x86_64.rpm (1/12), 760.2 KiB (  2.5 MiB unpacked) 
Sep 30 16:32:14 erlangen zypper[12154]: In cache libQt5Quick3DAssetImport5-5.15.6+kde1-1.1.x86_64.rpm (2/12), 222.5 KiB (743.1 KiB unpacked) 
Sep 30 16:32:14 erlangen zypper[12154]: In cache libqt5-qtdoc-qch-5.15.6-1.1.noarch.rpm (3/12),  92.4 MiB (112.9 MiB unpacked) 
Sep 30 16:32:14 erlangen zypper[12154]: In cache libqt5-qttranslations-5.15.6+kde2-1.1.x86_64.rpm (4/12),   1.9 MiB ( 14.5 MiB unpacked) 
Sep 30 16:32:14 erlangen zypper[12154]: In cache openSUSE-release-appliance-custom-20220929-1855.1.x86_64.rpm (5/12),   7.5 KiB (   79   B unpacked) 
Sep 30 16:32:14 erlangen zypper[12154]: In cache powertop-2.15-1.1.x86_64.rpm (6/12), 200.5 KiB (481.4 KiB unpacked) 
Sep 30 16:32:14 erlangen zypper[12154]: In cache python310-hstspreload-2022.9.1-1.1.noarch.rpm (7/12),   1.2 MiB (  2.8 MiB unpacked) 
Sep 30 16:32:14 erlangen zypper[12154]: In cache python38-hstspreload-2022.9.1-1.1.noarch.rpm (8/12),   1.2 MiB (  2.8 MiB unpacked) 
Sep 30 16:32:14 erlangen zypper[12154]: In cache libqt5-qtquick3d-tools-5.15.6+kde1-1.1.x86_64.rpm (9/12),  43.2 KiB (106.8 KiB unpacked) 
Sep 30 16:32:14 erlangen zypper[12154]: In cache openSUSE-release-20220929-1855.1.x86_64.rpm (10/12),   1.3 MiB (230.7 KiB unpacked) 
Sep 30 16:32:14 erlangen zypper[12154]: In cache powertop-lang-2.15-1.1.noarch.rpm (11/12),  24.3 KiB ( 43.0 KiB unpacked) 
Sep 30 16:32:14 erlangen zypper[12154]: In cache libqt5-qtquick3d-devel-5.15.6+kde1-1.1.x86_64.rpm (12/12),  44.2 KiB (120.7 KiB unpacked) 
Sep 30 16:32:14 erlangen zypper[12154]: Checking for file conflicts: .......done] 
Sep 30 16:32:14 erlangen zypper[12154]: ( 1/12) Installing: libQt5Quick3D5-5.15.6+kde1-1.1.x86_64 .................done] 
Sep 30 16:32:14 erlangen zypper[12154]: ( 2/12) Installing: libQt5Quick3DAssetImport5-5.15.6+kde1-1.1.x86_64 ................done] 
Sep 30 16:32:15 erlangen zypper[12154]: ( 3/12) Installing: libqt5-qtdoc-qch-5.15.6-1.1.noarch ...................done] 
Sep 30 16:32:15 erlangen zypper[12154]: ( 4/12) Installing: libqt5-qttranslations-5.15.6+kde2-1.1.x86_64 ...............done] 
Sep 30 16:32:15 erlangen zypper[12154]: ( 5/12) Installing: openSUSE-release-appliance-custom-20220929-1855.1.x86_64 .......done] 
Sep 30 16:32:15 erlangen zypper[12154]: ( 6/12) Installing: powertop-2.15-1.1.x86_64 ...............done] 
Sep 30 16:32:15 erlangen zypper[12154]: ( 7/12) Installing: python310-hstspreload-2022.9.1-1.1.noarch ..................done] 
Sep 30 16:32:15 erlangen zypper[12154]: ( 8/12) Installing: python38-hstspreload-2022.9.1-1.1.noarch ..................done] 
Sep 30 16:32:15 erlangen zypper[12154]: ( 9/12) Installing: libqt5-qtquick3d-tools-5.15.6+kde1-1.1.x86_64 ..........done] 
Sep 30 16:32:15 erlangen zypper[12154]: (10/12) Installing: openSUSE-release-20220929-1855.1.x86_64 ................done] 
Sep 30 16:32:15 erlangen zypper[12154]: (11/12) Installing: powertop-lang-2.15-1.1.noarch ............done] 
Sep 30 16:32:16 erlangen zypper[12154]: (12/12) Installing: libqt5-qtquick3d-devel-5.15.6+kde1-1.1.x86_64 ..................done] 
Sep 30 16:32:16 erlangen zypper[12154]: Executing %posttrans script 'openSUSE-release-20220929-1855.1.x86_64.rpm' ....done] 
Sep 30 16:32:17 erlangen zypper[12154]: There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run 'zypper ps -s' to list these pr
ograms. 
Sep 30 16:32:17 erlangen zypper[12154]:   
**erlangen:~ #**

Any “non standard” repositories in use on that machine?

Might help if you shared your repository setup:

zypper lr -d

Provided that prerequisite is met… otherwise not a wise move :wink:

I use these:

**erlangen:~ #** repos 
#  | Alias         | Enabled | GPG Check | Refresh | Priority | URI 
---+---------------+---------+-----------+---------+----------+------------------------------------------------------- 
 6 | Packman       | Yes     | (r ) Yes  | Yes     |   90     | https://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/ 
20 | non-oss       | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/tumbleweed/repo/non-oss/ 
22 | oss           | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/tumbleweed/repo/oss/ 
**erlangen:~ #**

The problem is with:

**erlangen:~ #** zypper --non-interactive install --allow-arch-change --allow-name-change --allow-downgrade --allow-unsigned-rpm --allow-vendor-change --dry-run qtxdg-tools 
Loading repository data... 
Reading installed packages... 
Resolving package dependencies... 

Problem: nothing provides 'libQt5Core.so.5(Qt_5.15.5_PRIVATE_API)(64bit)' needed by the to be installed libQt5Xdg3-3.9.1-1.5.x86_64 
 Solution 1: do not install qtxdg-tools-3.9.1-1.4.x86_64 
 Solution 2: break libQt5Xdg3-3.9.1-1.5.x86_64 by ignoring some of its dependencies 

**Choose from above solutions by number or cancel [1/2/c/d/?] (c): **c 
**erlangen:~ #**

You can’t use qtxdg-mat from package qtxdg-tools for the time being. Deinstall and zypper dup will readily perform the upgrade.

Problem: the installed libQt5Xdg3-3.9.1-1.5.x86_64 requires ‘libQt5Core.so.5(Qt_5.15.5_PRIVATE_API)(64bit)’, but this requirement cannot be provided

RPMS/x86_64/libQt5Xdg3-3.9.1-1.6.x86_64.rpm

But:
https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libQt5Xdg3-3.9.1-1.5.x86_64.rpm

Thanks for the response. I use XFCE but I have as well a bunch of KDE applications. I do not have Plasma.

Yes, I have ms-teams and skype. I have had the set of repos a very long time. I do not believe they are the problem.

# zypper lr -d
# | Alias        | Name                       | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                  | Service
--+--------------+----------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------+--------
1 | ms-teams     | ms-teams                   | Yes     | ( p) Yes  | No      |   99     | rpm-md | https://packages.microsoft.com/yumrepos/ms-teams/                    | 
2 | packman      | packman                    | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ | 
3 | repo-debug   | openSUSE-Tumbleweed-Debug  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/              | 
4 | repo-non-oss | Main Repository (NON-OSS)  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                | 
5 | repo-oss     | Main Repository (OSS)      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                    | 
6 | repo-source  | openSUSE-Tumbleweed-Source | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/             | 
7 | repo-update  | Main Update Repository     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                      | 
8 | skype-stable | skype (stable)             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://repo.skype.com/rpm/stable/                                   | 
9 | teams        | teams                      | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | https://packages.microsoft.com/yumrepos/ms-teams                     | 

Thank you. That was it, not exactly, but you response inspired me to look for things that were causing similar trouble. In my case where:

libQt5Xdg3

and

libQt5Xdg

Both had been installed a few days ago as I experimented building some new package and needed some dependencies. Dist upgrade now worked just fine!

Thank you everyone for your kind help!

Looks like the “nothing provides 'libQt5Core.so.5(Qt_5.15.5_PRIVATE_API)” is already known about:
https://bugzilla.opensuse.org/show_bug.cgi?id=1203919

I am not sure what are you trying to say. Yes, it has been rebuilt in Factory and now it has to enter staging and then Tumbleweed. It takes time. Wait for coming Tumbleweed snapshots.

Good catch! And it seems it was about to be solved in the coming days as suggested by awerlang.

And how exactly pcmanfm is related to libqt5xdg? The problem is not that library is missing - the problem is that library has been updated but packages were not yet rebuilt with updated library. Fixing one package is not going to fix another package. Besides right now both are rebuilt and you just need to wait for Tumbleweed to pick up new versions.

It’s not… I meant that problems being caused by “nothing provides 'libQt5Core.so.5(Qt_5.15.5_PRIVATE_API)” were known about, it is no doubt affecting several other packages. My bad, I must be more exact in how I word my comments…:X

Thanks for the feedback. It’s concise and precise too!