Cannot 'zypper dup' due to a lot of dependencie problems

Hell everyone,

I am experiencing some problems with my tumbleweed installation:
Since a few days, whenever I try to upgrade my system using ‘zypper dup’ I get messages like this:

meteor:/home/jens # zypper dup --allow-vendor-change 
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: telegram-desktop-2.1.1-1.1.x86_64 requires libQt5Gui.so.5(Qt_5.14.1_PRIVATE_API)(64bit), but this requirement cannot be provided
Problem: libdtkwidget2-2.1.1-1.1.x86_64 requires libQt5Widgets.so.5(Qt_5.14.1_PRIVATE_API)(64bit), but this requirement cannot be provided
Problem: libQt5Widgets5-5.14.1-2.2.x86_64 requires libQt5Core.so.5(Qt_5.14.1_PRIVATE_API)(64bit), but this requirement cannot be provided
Problem: libQt5Gui5-5.14.1-2.2.x86_64 requires libQt5DBus5 = 5.14.1, but this requirement cannot be provided
Problem: libdtkwidget2-2.1.1-1.1.x86_64 requires libQt5Gui.so.5(Qt_5.14.1_PRIVATE_API)(64bit), but this requirement cannot be provided

Problem: telegram-desktop-2.1.1-1.1.x86_64 requires libQt5Gui.so.5(Qt_5.14.1_PRIVATE_API)(64bit), but this requirement cannot be provided
  deleted providers: libQt5Gui5-5.14.1-2.2.x86_64
 Solution 1: deinstallation of telegram-desktop-2.1.1-1.1.x86_64
 Solution 2: keep obsolete libQt5Gui5-5.14.1-2.2.x86_64
 Solution 3: break telegram-desktop-2.1.1-1.1.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):

When skipping this, new problems appear:

Problem: libdtkwidget2-2.1.1-1.1.x86_64 requires libQt5Widgets.so.5(Qt_5.14.1_PRIVATE_API)(64bit), but this requirement cannot be provided
  deleted providers: libQt5Widgets5-5.14.1-2.2.x86_64
 Solution 1: Following actions will be done:
  keep obsolete libQt5Widgets5-5.14.1-2.2.x86_64
  keep obsolete libdtkcore2-2.1.1-1.1.x86_64
 Solution 2: Following actions will be done:
  install libdtkwidget2-2.1.1-1.1.i586 despite the inferior architecture
  install libdframeworkdbus2-1.1.6-2.2.i586 despite the inferior architecture
  install libgsettings-qt1-0.1.20160329-2.12.i586 despite the inferior architecture
  keep obsolete libQt5Gui5-32bit-5.14.1-2.2.x86_64
  keep obsolete libQt5Widgets5-32bit-5.14.1-2.2.x86_64
  keep obsolete libQt5Core5-32bit-5.14.1-2.2.x86_64
 Solution 3: deinstallation of libdtkwidget2-2.1.1-1.1.x86_64
 Solution 4: break libdtkwidget2-2.1.1-1.1.x86_64 by ignoring some of its dependencies

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

This continues for a long time. I already tried disabling most non-default repository, but this doesn’t change anything.

Thanks for your help

~Jens

Hi Karatek,

Please show your repos:


zypper lr -d

FWIW I replaced telegram-desktop by the one in server:messaging and that works. Therefore I branched it temporarily in my own repo, will check the stock version in a couple of days. But I did not see the other errors, hence my question about your repos.

Thanks for your quick answer!
Here are my repos:

meteor:/home/jens # zypper lr -d
#  | Alias                                  | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                               | Service
---+----------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------------------------------------+--------
 1 | Emulators_Wine                         | Wine (openSUSE_Tumbleweed)              | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Tumbleweed/                    | 
 2 | KDE-Applications                       | KDE-Applications                        | No      | ----      | ----    |   75     | rpm-md | https://download.opensuse.org/repositories/KDE:/Applications/KDE_Frameworks5_openSUSE_Tumbleweed/ | 
 3 | KDE-Frameworks                         | KDE-Frameworks                          | No      | ----      | ----    |   75     | rpm-md | https://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Factory/                     | 
 4 | KDE-Qt5                                | KDE-Qt5                                 | No      | ----      | ----    |   75     | rpm-md | https://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_Factory/                             | 
 5 | code                                   | Visual Studio Code                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://packages.microsoft.com/yumrepos/vscode                                                    | 
 6 | devel_languages_python                 | Python Modules (openSUSE_Tumbleweed)    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Tumbleweed/           | 
 7 | google-chrome                          | google-chrome                           | No      | ----      | ----    |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                               | 
 8 | home_pbek_QOwnNotes                    | QOwnNotes (openSUSE_Tumbleweed)         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/openSUSE_Tumbleweed/              | 
 9 | home_smarty12_Python                   | home:smarty12:Python (openSUSE_Factory) | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/home:/smarty12:/Python/openSUSE_Factory/                | 
10 | http-download.opensuse.org-31d2144a    | games                                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/                              | 
11 | http-download.opensuse.org-45de9da2    | openSUSE:Factory:NonFree                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/repositories/openSUSE:/Factory:/NonFree/standard/                    | 
12 | http-download.opensuse.org-86c6cbc4    | openSUSE:Factory                        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/                             | 
13 | http-download.opensuse.org-9abcfe4d    | openSUSE:Tumbleweed                     | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/                          | 
14 | http-download.opensuse.org-9c151d8f    | devel:languages:python                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Tumbleweed/           | 
15 | http-download.opensuse.org-a3542382    | network:im:signal                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/network:/im:/signal/openSUSE_Tumbleweed/                | 
16 | http-download.opensuse.org-e3b2834a    | utilities                               | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/utilities/openSUSE_Factory/                             | 
17 | opensuse-guide.org-openSUSE_Tumbleweed | libdvdcss repository                    | No      | ----      | ----    |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                                               | 
18 | packman                                | packman                                 | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                               | 
19 | repo-debug                             | repo-debug                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/debug                                                | 
20 | repo-non-oss                           | repo-non-oss                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss                                              | 
21 | repo-oss                               | repo-oss                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss                                                  | 
22 | repo-src-non-oss                       | repo-src-non-oss                        | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/src-non-oss                                          | 
23 | repo-src-oss                           | repo-src-oss                            | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/src-oss                                              | 
24 | repo-update                            | repo-update                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                                   | 
25 | skype-stable                           | skype (stable)                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://repo.skype.com/rpm/stable/                                                                | 
26 | teamviewer                             | TeamViewer - x86_64                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://linux.teamviewer.com/yum/stable/main/binary-x86_64/                                        | 
27 | tumbleweed                             | NVIDIA                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.nvidia.com/opensuse/tumbleweed                                                   | 
meteor:/home/jens # 

On TW it’s not wise to have those KDE, Qt repos. I see they are disabled now, but they must have been enabled once, and you may still have packages from those repos installed. Also, it is strongly adviced not to use home: repos, unless you know the packager/dev and know that their versions work and do not conflict with packages in the distribution repos. The home: repos are the place where packagers/devs may and should break things before submitting them to TW. And hence these packages are not included in openQA testing. If you want a package in TW contact the packager/dev and kindly ask them to submit it to TW so you can install it from the distro itself.
For now I suggest you disable those home: repos and run


sudo zypper dup --allow-vendor-change --allow-downgrade 

and report what that gives.

FWIW a working telegram-desktop is in server:messaging, it will probably land in TW in the next week.

Alright, so I added server:messaging and disabled all home: repos, and now I receive the following:

jens@meteor:~> sudo zypper dup --allow-vendor-change --allow-downgrade
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...
4 Problems:
Problem: libdtkwidget2-2.1.1-1.1.x86_64 requires libQt5Gui.so.5(Qt_5.14.1_PRIVATE_API)(64bit), but this requirement cannot be provided
Problem: libdtkwidget2-2.1.1-1.1.x86_64 requires libQt5Widgets.so.5(Qt_5.14.1_PRIVATE_API)(64bit), but this requirement cannot be provided
Problem: libQt5Widgets5-5.14.1-2.2.x86_64 requires libQt5Core.so.5(Qt_5.14.1_PRIVATE_API)(64bit), but this requirement cannot be provided
Problem: libQt5Gui5-5.14.1-2.2.x86_64 requires libQt5DBus5 = 5.14.1, but this requirement cannot be provided

Problem: libdtkwidget2-2.1.1-1.1.x86_64 requires libQt5Gui.so.5(Qt_5.14.1_PRIVATE_API)(64bit), but this requirement cannot be provided
  deleted providers: libQt5Gui5-5.14.1-2.2.x86_64
 Solution 1: Following actions will be done:
  keep obsolete libQt5Gui5-5.14.1-2.2.x86_64
  keep obsolete libQt5Network5-5.14.1-2.2.x86_64
  keep obsolete libdtkcore2-2.1.1-1.1.x86_64
 Solution 2: Following actions will be done:
  install libdtkwidget2-2.1.1-1.1.i586 despite the inferior architecture
  install libdframeworkdbus2-1.1.6-2.2.i586 despite the inferior architecture
  install libgsettings-qt1-0.1.20160329-2.12.i586 despite the inferior architecture
  keep obsolete libQt5Gui5-32bit-5.14.1-2.2.x86_64
  keep obsolete libQt5Widgets5-32bit-5.14.1-2.2.x86_64
  keep obsolete libQt5Core5-32bit-5.14.1-2.2.x86_64
  deinstallation of teamviewer-suse-15.6.7-0.x86_64
 Solution 3: deinstallation of libdtkwidget2-2.1.1-1.1.x86_64
 Solution 4: break libdtkwidget2-2.1.1-1.1.x86_64 by ignoring some of its dependencies

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

FWIW libdtwidget is not in TW, so it must come from one of those other repos. Uninstall it.

This fixed it, thank you so much!