Bug 1221883 - Dependency resolution failure during update
Summary: Dependency resolution failure during update
Status: RESOLVED WORKSFORME
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KDE Workspace (Plasma) (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-Mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-23 03:58 UTC by Jecho Jekov
Modified: 2024-05-03 07:15 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Exported list of installed packages (286.57 KB, application/xml)
2024-03-23 18:18 UTC, Jecho Jekov
Details
List of pckages after the distribution update (289.84 KB, application/xml)
2024-03-24 10:33 UTC, Jecho Jekov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jecho Jekov 2024-03-23 03:58:00 UTC
The state of the OS:

- Fully updated Tumbleweed (except the packages mentioned below) running in KVM/QEMU

```
Operating System: openSUSE Tumbleweed 20240321
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-1-default (64-bit)
Graphics Platform: X11
```

- `zypper update` shows no packages to be updated

- Discover shows that the following packages can be updated:
  + `layer-shell-qt5`
  + `libqt5-qtwebengine`

Selecting "Update All" in Discover shows the following error:

```
Dependency resolution failed: the installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires "libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)", but this requirement cannot be provided
```

Log output

```
3/23/24 5:50 AM	dbus-daemon	[system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.64' (uid=1000 pid=4804 comm="/usr/bin/plasma-discover")
3/23/24 5:50 AM	systemd	Starting PackageKit Daemon...
3/23/24 5:50 AM	PackageKit	daemon start
3/23/24 5:50 AM	dbus-daemon	[system] Successfully activated service 'org.freedesktop.PackageKit'
3/23/24 5:50 AM	systemd	Started PackageKit Daemon.
3/23/24 5:50 AM	PackageKit	new update-packages transaction /1_edecaaee scheduled from uid 1000
3/23/24 5:50 AM	DiscoverNotifier	packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"
3/23/24 5:50 AM	plasma-discover	packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"
3/23/24 5:50 AM	PackageKit	update-packages transaction /1_edecaaee from uid 1000 finished with failed after 2154ms
3/23/24 5:50 AM	DiscoverNotifier	packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"
3/23/24 5:50 AM	plasma-discover	qrc:/qt/qml/org/kde/discover/qml/UpdatesPage.qml:39:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
3/23/24 5:50 AM	plasma-discover	Error happened PackageKit::Transaction::ErrorDepResolutionFailed "the installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires 'libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)', but this requirement cannot be provided\nthe installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires 'libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)', but this requirement cannot be provided"
3/23/24 5:50 AM	plasma-discover	packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"
3/23/24 5:50 AM	plasma-discover	qrc:/qt/qml/org/kde/discover/qml/UpdatesPage.qml:39:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
3/23/24 5:50 AM	PackageKit	uid 1000 is trying to obtain org.freedesktop.packagekit.system-update auth (only_trusted:1)
3/23/24 5:50 AM	DiscoverNotifier	packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"
3/23/24 5:50 AM	plasma-discover	packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"
3/23/24 5:50 AM	PackageKit	new update-packages transaction /3_dbdacbcb scheduled from uid 1000
3/23/24 5:50 AM	PackageKit	uid 1000 obtained auth for org.freedesktop.packagekit.system-update
3/23/24 5:50 AM	PackageKit	get-updates transaction /2_cdddeaba from uid 1000 finished with success after 1275ms
3/23/24 5:50 AM	plasma-discover	packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"
3/23/24 5:50 AM	DiscoverNotifier	packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"
3/23/24 5:50 AM	plasma-discover	Error happened PackageKit::Transaction::ErrorDepResolutionFailed "the installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires 'libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)', but this requirement cannot be provided\nthe installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires 'libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)', but this requirement cannot be provided"
3/23/24 5:50 AM	PackageKit	update-packages transaction /3_dbdacbcb from uid 1000 finished with failed after 205ms
3/23/24 5:50 AM	PackageKit	get-updates transaction /4_aaaeedbe from uid 1000 finished with success after 1383ms
3/23/24 5:50 AM	plasma-discover	AppStreamIntegration: No distro component found for "org.opensuse.opensuse-tumbleweed"
3/23/24 5:50 AM	PackageKit	resolve transaction /5_acaacbac from uid 1000 finished with success after 0ms
3/23/24 5:50 AM	PackageKit	resolve transaction /6_badedbbd from uid 1000 finished with success after 0ms
3/23/24 5:50 AM	PackageKit	daemon quit
3/23/24 5:50 AM	plasma-discover	PackageKit stopped running!
3/23/24 5:50 AM	systemd	packagekit.service: Deactivated successfully.
3/23/24 5:50 AM	systemd	packagekit.service: Consumed 3.902s CPU time.
```

I am not sure if the `packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"` message indicates a lack of internet connection, however, connection is available and I was able to update the system using `zypper update` except for the packages show in Discover.
Comment 1 Fabian Vogt 2024-03-23 12:43:38 UTC
Do not use zypper update, that is invalid. You *must* use zypper dup. That will also give you a proper error message.
Comment 2 Jecho Jekov 2024-03-23 18:10:23 UTC
Running `zypper dup` shows:

```
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...
2 Problems:
Problem: the installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires 'libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)', but this requirement cannot be provided
Problem: the installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires 'libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)', but this requirement cannot be provided

Problem: the installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires 'libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)', but this requirement cannot be provided
 Solution 1: deinstallation of kwayland-integration6-6.0.2-1.1.x86_64
 Solution 2: deinstallation of libKPim5Itinerary5-23.08.4-1.4.x86_64
 Solution 3: keep obsolete kwayland-integration6-6.0.2-1.1.x86_64
 Solution 4: break libQtQuick5-5.15.12+kde31-1.2.x86_64 by ignoring some of its dependencies

```
Comment 3 Jecho Jekov 2024-03-23 18:18:55 UTC
Created attachment 873750 [details]
Exported list of installed packages

I have two other installations of Tumbleweed (one KVM/QEMU and one bare metal) that updated without an issue. I have attached the exported the list of packages from the YaST Package Manager.
Comment 4 Fabian Vogt 2024-03-23 20:24:04 UTC
(In reply to Jecho Jekov from comment #2)
> Running `zypper dup` shows:
> 
> ```
> 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...
> 2 Problems:
> Problem: the installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires
> 'libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)', but this requirement cannot
> be provided
> Problem: the installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires
> 'libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)', but this requirement cannot
> be provided
> 
> Problem: the installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires
> 'libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)', but this requirement cannot
> be provided
>  Solution 1: deinstallation of kwayland-integration6-6.0.2-1.1.x86_64
>  Solution 2: deinstallation of libKPim5Itinerary5-23.08.4-1.4.x86_64
>  Solution 3: keep obsolete kwayland-integration6-6.0.2-1.1.x86_64
>  Solution 4: break libQtQuick5-5.15.12+kde31-1.2.x86_64 by ignoring some of
> its dependencies
> 
> ```

Solution 2 is the correct one, but that should happen automatically.
Please try 2 and check whether there's another complaint.
Comment 5 Jecho Jekov 2024-03-24 10:33:11 UTC
Created attachment 873756 [details]
List of pckages after the distribution update
Comment 6 Jecho Jekov 2024-03-24 10:35:03 UTC
Thank you. I selected "2" in both cases and after a reboot everything seems fine. I have attached the list of packages after the update.

```
game@2a01-5a8-30a-17d0-97b5-f59d-b362-a877:~> sudo 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...
2 Problems:
Problem: the installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires 'libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)', but this requirement cannot be provided
Problem: the installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires 'libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)', but this requirement cannot be provided

Problem: the installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires 'libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)', but this requirement cannot be provided
 Solution 1: deinstallation of kwayland-integration6-6.0.2-1.1.x86_64
 Solution 2: deinstallation of libKPim5Itinerary5-23.08.4-1.4.x86_64
 Solution 3: keep obsolete kwayland-integration6-6.0.2-1.1.x86_64
 Solution 4: break libQtQuick5-5.15.12+kde31-1.2.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): 2

Problem: the installed libQtQuick5-5.15.12+kde31-1.2.x86_64 requires 'libQt5Gui.so.5(Qt_5.15.12_PRIVATE_API)(64bit)', but this requirement cannot be provided
 Solution 1: Following actions will be done:
  deinstallation of plasma6-integration-plugin-6.0.2-1.1.x86_64
  deinstallation of xdg-desktop-portal-kde6-6.0.2-1.1.x86_64
  deinstallation of plasma6-branding-openSUSE-84.87~git20240313T170730~9c664b7-1.1.noarch
  deinstallation of plasma6-session-x11-6.0.2-2.1.x86_64
  deinstallation of plasma6-desktop-emojier-6.0.2-1.1.x86_64
 Solution 2: Following actions will be done:
  deinstallation of libKPim5EventViews5-23.08.4-1.2.x86_64
  deinstallation of libKPim5CalendarSupport5-23.08.4-1.2.x86_64
  deinstallation of libKPim5MailCommon5-23.08.4-1.2.x86_64
  deinstallation of libKPim5GrantleeTheme5-23.08.4-1.2.x86_64
  deinstallation of libKPim5CalendarUtils5-23.08.4-1.2.x86_64
  deinstallation of libKPim5libkleo5-23.08.4-1.2.x86_64
  deinstallation of libKPim5ContactEditor5-23.08.4-1.2.x86_64
  deinstallation of libksieve5-23.08.4-1.2.x86_64
  deinstallation of libKPim5Ldap5-23.08.4-1.2.x86_64
  deinstallation of libKPim5ImportWizard5-23.08.4-1.2.x86_64
  deinstallation of libKPim5Tnef5-23.08.4-1.2.x86_64
  deinstallation of libKPim5AkonadiContact5-23.08.4-1.2.x86_64
  deinstallation of libKPim5PimCommonAkonadi5-23.08.4-1.2.x86_64
 Solution 3: deinstallation of kdepim-addons-23.08.4-1.3.x86_64
 Solution 4: keep obsolete plasma6-integration-plugin-6.0.2-1.1.x86_64
 Solution 5: break libQtQuick5-5.15.12+kde31-1.2.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/3/4/5/s/r/c/d/?] (c): 2
Resolving dependencies...
Computing distribution upgrade...

The following 94 packages are going to be upgraded:
  akonadi-calendar-tools akonadi-import-wizard akonadi-plugin-calendar akonadi-plugin-contacts akregator grantleetheme kaddressbook kalendarac kcalutils kdepim-addons kdepim-runtime kirigami2 kldap kleopatra kmail knotes kontact korganizer ktnef kwayland
  kwayland-integration6 layer-shell-qt5 libKF5Declarative5 libKF5I18n5 libKF5IconThemes5 libKF5XmlGui5 libkleo libksieve libQt5Bluetooth5 libQt5Bluetooth5-imports libQt5Concurrent5 libQt5Core5 libQt5DBus5 libQt5Designer5 libQt5Gui5 libQt5Help5
  libQt5HunspellInputMethod5 libQt5Location5 libQt5Multimedia5 libQt5Network5 libQt5NetworkAuth5 libQt5Nfc5 libQt5Nfc5-imports libQt5OpenGL5 libQt5Positioning5 libQt5PositioningQuick5 libQt5PrintSupport5 libqt5-qdbus libqt5-qtbase-platformtheme-gtk3
  libqt5-qtgraphicaleffects libqt5-qtimageformats libqt5-qtquickcontrols libqt5-qtquickcontrols2 libqt5-qtspeech-plugin-speechd libqt5-qtstyleplugins-platformtheme-gtk2 libqt5-qtvirtualkeyboard libqt5-qtvirtualkeyboard-hunspell libqt5-qtwayland
  libqt5-qtwebengine libqt5-qtxmlpatterns-imports libQt5QuickControls2-5 libQt5QuickTemplates2-5 libQt5Script5 libQt5Sensors5 libQt5Sensors5-imports libQt5SerialPort5 libQt5Sql5 libQt5Sql5-mysql libQt5Sql5-sqlite libQt5Svg5 libQt5Test5 libQt5TextToSpeech5
  libQt5VirtualKeyboard5 libQt5WaylandClient5 libQt5WaylandCompositor5 libQt5WebChannel5 libQt5WebChannel5-imports libQt5WebSockets5 libQt5WebSockets5-imports libQt5WebView5 libQt5WebView5-imports libQt5Widgets5 libQt5X11Extras5 libQt5Xml5 libQt5XmlPatterns5
  libQtQuick5 mbox-importer messagelib pim-data-exporter pim-sieve-editor plasma6-integration-plugin python311-qt5 qqc2-desktop-style qtdeclarative-imports-provides-qt5

The following 49 NEW packages are going to be installed:
  akonadi-calendar kf6-kdav kimap kitinerary kmbox kontactinterface kpkpass ktnef-debug-categories libKF6DAV6 libKGantt6-3 libKPim6AddressbookImportExport6 libKPim6AkonadiCalendar6 libKPim6AkonadiContactCore6 libKPim6AkonadiContactWidgets6
  libKPim6AkonadiNotes6 libKPim6CalendarSupport6 libKPim6CalendarUtils6 libKPim6EventViews6 libKPim6GAPICalendar6 libKPim6GAPIPeople6 libKPim6GAPITasks6 libKPim6GrantleeTheme6 libKPim6Gravatar6 libKPim6IdentityManagementWidgets6 libKPim6IMAP6
  libKPim6ImportWizard6 libKPim6IncidenceEditor6 libKPim6Itinerary6 libKPim6KontactInterface6 libKPim6LdapCore6 libKPim6LdapWidgets6 libKPim6Libkdepim6 libKPim6libkleo6 libKPim6MailCommon6 libKPim6MailImporter6 libKPim6MailImporterAkonadi6 libKPim6Mbox6
  libKPim6MimeTreeParserCore6 libKPim6MimeTreeParserWidgets6 libKPim6PimCommon6 libKPim6PimCommonAkonadi6 libKPim6PkPass6 libKPim6TextEdit6 libKPim6Tnef6 libksieve6 libqgpgmeqt6-15 libQt6NetworkAuth6 mimetreeparser pimcommon

The following 16 packages are going to be REMOVED:
  libKPim5AkonadiCalendar5 libKPim5AkonadiContact5 libKPim5CalendarSupport5 libKPim5CalendarUtils5 libKPim5ContactEditor5 libKPim5EventViews5 libKPim5GrantleeTheme5 libKPim5ImportWizard5 libKPim5IncidenceEditor5 libKPim5Itinerary5 libKPim5Ldap5
  libKPim5libkleo5 libKPim5MailCommon5 libKPim5PimCommonAkonadi5 libKPim5Tnef5 libksieve5

94 packages to upgrade, 49 new, 16 to remove.
Overall download size: 112.5 MiB. Already cached: 0 B. After the operation, additional 13.1 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): 
```
Comment 7 Andreas Stieger 2024-05-03 07:15:55 UTC
closing as this was resolved by user action