[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]
- The system is currently running
PackageKit-1.2.8-6.oe2403sp3. - 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.