Hide Forgot
Description of problem: When uninstalling a package previously installed with PackageKit (GNOME Software or pkcon) on latest Fedora Rawhide using dnf remove, dnf does not find any unused dependencies and uninstalls only the base package. No dependencies are also found when running dnf autoremove afterwards. This seems to be a dnf regression, see the link from Additional info. Version-Release number of selected component (if applicable): dnf-4.2.7-2.fc31.noarch PackageKit-1.1.12-10.fc31.x86_64 How reproducible: Every time. Steps to Reproduce: 1. Install some package that has additional dependencies with pkcon. 2. After the installation, try uninstalling the package using "dnf remove". Actual results: Only the base package is uninstalled. Expected results: Both the base package and the previously installed dependencies are uninstalled. Additional info: https://github.com/hughsie/PackageKit/issues/201#issuecomment-515067267
I beliew that the problem is what is stored in transaction database (swdb) after PackageKit transaction. I would like to ask PackageKit maintainers to take a look (I know that the code is probably in libdnf, but originate a lot from libhif). If you don't want to fix it please close it as a won't fix as a sign that PackageKit is unmaintained.
Let's hope that GNOME Software will soon switch to libdnf instead of using PackageKit. :-)
I have tested this with various Fedora versions and it seems that the issue happens since Fedora 29. It worked fine in Fedora 28.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31.
So what is the status here? Any chance this will be fixed (in dnf or PackageKit)?
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.
Still the same issue on Fedora 33.
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.