Bug 491483

Summary: yum groupremove "KDE (K Desktop Environment)" removes GNOME components
Product: [Fedora] Fedora Reporter: Marcus Moeller <mm>
Component: kdebaseAssignee: Than Ngo <than>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: arbiter, jreznik, kevin, ltinkl, mhuhtala, rdieter, smparrish, than
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-21 18:06:09 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 Marcus Moeller 2009-03-21 17:54:20 UTC
While doing a:

yum groupremove "KDE (K Desktop Environment)"

essential and additional GNOME components are removed, too:

NetworkManager-gnome

gstreamer-plugins-ugly
gstreamer-ffmpeg

Best Regards
Marcus

Comment 1 Rex Dieter 2009-03-21 18:06:09 UTC
gnome and kde have overlapping components, that's a fact of life these days.

Sorry, but 'yum groupremove' simply isn't smart enough these days to do what you expect... which is (I assume): remove kde, but leave anything in other groups (like gnome-desktop) alone.

Comment 2 Rex Dieter 2009-03-21 18:07:01 UTC
One workaround is to:
yum groupremove kde-desktop

followed by:
yum groupinstall gnome-desktop

to restore stuff.

Comment 3 Mikko Huhtala 2009-09-23 17:39:29 UTC
I tried groupremoving KDE in the current rawhide, and it will remove, among OpenOffice and many other things, both kdm *and* gdm. I'd say it is a little too easy fort the user to end up high and dry. Can the dependencies at least be changed so that a login manager remains? Is there a situation where groupremove is actually usable?

Comment 4 Mikko Huhtala 2009-09-23 18:00:14 UTC
Doing

yum remove kdebase kdelibs

practically achieves the goal of removing KDE without killing GNOME/OpenOffice/the login manager. The dependency culprits included in the KDE group seem to be

dejavu-sans-fonts
polkit-gnome

OpenOffice depends on dejavu-sans-fonts (why?) and gdm depends on polkit-gnome.

Comment 5 Kevin Kofler 2009-09-23 19:59:44 UTC
yum groupremove doesn't do what you think it does. It is NOT the inverse of groupinstall. There is no inverse of groupinstall.

Comment 6 Mikko Huhtala 2009-09-24 22:21:10 UTC
What does uninstalling a collection from PackageKit-gnome do? I tried to look at the PackageKit yum backend code but I'm not familiar with the yum Python API. If the 'uninstall collection' operation in PackageKit-gnome amounts to a groupremove, I think that is a problem. I just saw a new post on fedoraforum by a newbie who had hosed his system by uninstalling KDE. I don't know how exactly he did the uninstalling, though.