Bug 501824

Summary: yum does not remove dependencies not needed anymore
Product: [Fedora] Fedora Reporter: Bruno Antunes <sardaukar.siet>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ffesti, james.antill, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-20 21:52:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bruno Antunes 2009-05-20 21:26:44 UTC
Description of problem:
Yum does not remove unneeded dependencies

How reproducible:
Always

Steps to Reproduce:
1. Install package A which needs packages B and C as dependencies
2. Remove package A
3. There is no straightforward way to remove B and C and they are not needed anymore!
  
Actual results:
Orphaned packages clutter the system over time

Expected results:
Upon removing package A, yum should display a message about which command we can run to remove the no longer needed packages

Additional info:
This is THE missing feature that is making me consider a move to Debian/Ubuntu.

Comment 1 seth vidal 2009-05-20 21:52:10 UTC
the yum-plugin remove-with-leaves provides this behavior.

You can install and enable the plugin and get what you want.

Statements about why you want to move to other distributions are not really appropriate or useful in bug reports.

Comment 2 Bruno Antunes 2009-05-21 09:55:46 UTC
I was merely accentuating how important it is to me. I'll check the plugin, thank you.