Bug 837704

Summary: yum-plugin-remove-with-leaves doesn't remove all dependencies
Product: [Fedora] Fedora Reporter: Matthias Berndt <matthias_berndt>
Component: yumAssignee: Fedora Packaging Toolset Team <packaging-team>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: ffesti, i18n-bugs, james.antill, maxamillion, notting, packaging-team, petersen, tim.lauridsen, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-21 19:51:40 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 Matthias Berndt 2012-07-04 22:12:15 UTC
Description of problem:
After installing and removing the empathy package on my KDE-only system, various dependencies are left around.


Version-Release number of selected component (if applicable):
1.1.31-4.fc17

How reproducible:
always

Steps to Reproduce:
1. install and enable yum-plugin-remove-with-leaves
2. install e. g. empathy on your system
3. remove it again using "yum remove --with-leaves empathy"
  
Actual results:
Various packages that were installed by yum to satisfy empathy's dependencies are left around. In my case, these were json-glib, libsocialweb, libsocialweb-keys, rest.

Expected results:
All dependencies that were installed because of empathy should be removed again.

Additional info:
I filed this bug against yum because there's no component to chose for this yum plugin.

Yum installed the following 36 packages as dependencies when I installed empathy. Except for the 4 packages mentioned earlier, they were all removed again.

abattis-cantarell-fonts
adwaita-gtk2-theme
adwaita-gtk3-theme
beefy-miracle-backgrounds-gnome
cheese-libs
clutter
clutter-gst
clutter-gtk
cogl
desktop-backgrounds-gnome
empathy
evolution-data-server
folks
geoclue
gnome-desktop3
gnome-icon-theme
gnome-online-accounts
gnome-themes-standard
gtk2-engines
json-glib
libcanberra-gtk3
libchamplain
libchamplain-gtk
libgdata
libgee06
libgweather
libicu
libmx
liboauth
libsocialweb
libsocialweb-keys
rest
telepathy-farstream
telepathy-idle
telepathy-logger
webkitgtk3

Comment 1 James Antill 2013-05-21 19:51:40 UTC
 Don't use that plugin, use the clean_requirements_on_remove configuration in yum ... however even that can't guarantee perfection.