Bug 1541357

Summary: [rfe] support uninstallation of unused dependencies
Product: [Fedora] Fedora Reporter: AsciiWolf <mail>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: jonathan, klember, rdieter, rhughes, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-11 11:52:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description AsciiWolf 2018-02-02 11:26:15 UTC
Description of problem:
If you uninstall a package using dnf, the package along with its dependencies is uninstalled. However, if you uninstall a package using PackageKit, only the package itself is uninstalled, leaving all the dependencies installed. This is a problem in many cases - many packages have dependencies like "package-data", where they have the actual binaries/libraries so if you uninstall the package using any PackageKit-based CLI/GUI, only the main package (that usually contains desktop/icon files) is uninstalled, but the actual application is left installed. Please, consider supporting this.

Additional info:
https://github.com/hughsie/PackageKit/issues/201

Comment 1 AsciiWolf 2018-11-15 19:58:02 UTC
I have created a similar RFE BZ that suggests marking the unused dependencies as removable (so they can be manually removed using, for example, dnf autoremove) instead of removing them directly by PackageKit/GNOME Software: https://bugzilla.redhat.com/show_bug.cgi?id=1650310

Comment 2 AsciiWolf 2021-05-14 13:50:38 UTC
Still not supported on F34/Rawhide.