[Bug] PackageKit package dependency conflict causing dnf update to fail

[Issue Description]
When running sudo dnf update, the system reports a version conflict with PackageKit-devel, preventing the update from completing.

[Environment Information]

  • Operating System: openEuler 24.03 LTS SP3
  • Packages: PackageKit, PackageKit-devel, PackageKit-gtk3-module

[Reproduction Steps]

  1. The system is currently running PackageKit-1.2.8-6.oe2403sp3.
  2. Execute the command sudo dnf update.

[Error Log]

1Error:
2 Problem: cannot install the best update candidate for package PackageKit-devel-1.2.8-6.oe2403sp3.x86_64
3  - cannot install both PackageKit-devel-1.2.8-3.oe2403sp3.x86_64 from everything and PackageKit-devel-1.2.8-6.oe2403sp3.x86_64 from @System
4  - problem with installed package PackageKit-gtk3-module-1.2.8-6.oe2403sp3.x86_64

[Temporary Solution]
After investigation, it was found that downgrading the PackageKit-related packages to version 1.2.8-3 first, followed by running the update, can bypass this issue.

1# Temporary workaround
2sudo dnf downgrade PackageKit PackageKit-devel PackageKit-gtk3-module -y
3sudo dnf update -y

This indicates that the upgrade path from 1.2.8-3 to 1.2.8-6 works correctly, but upgrading from intermediate versions (e.g., 1.2.8-5) triggers dependency conflicts. It is suspected that there is an issue with the dependency configuration in the software repository.

This package underwent merging and splitting in version 1.2.8-4, which is likely the cause of this issue.

PackageKit/PackageKit.spec · src-openeuler/PackageKit - AtomGit | GitCode* Tue Jul 29 2025 Funda Wang fundawang@yeah.net - 1.2.8-4\n- move dbus interface to main package\n- split out gtk module from devel sub package\n- cleanup buildrequires\n```\n\nSimilar cases have occurred with other packages before, for example: samba-client and samba-client-libs cannot be installed simultaneously, causing yum update errors · Issue #I8DD22 · src-openEuler/samba - Gitee.com

Can this issue be fixed in the next update?

If you haven’t installed it before, it will directly install the latest 1.2.8-6 version, which is fine.
If you previously installed an older version, you need to follow the steps you mentioned above to bypass the issue, upgrade to version 1.2.8-6, and then subsequent upgrades will be based on the unpacked package, which will not cause any problems.

Note that the same issue also occurs with 24.03 (LTS-SP3) after installing cockpit, and the problem persists even after trying the temporary workaround mentioned in the first post.

~]$ dnf list --installed cockpit
Installed Packages
cockpit.x86_64 309-8.oe2403sp3 @update