Bug 491483 - yum groupremove "KDE (K Desktop Environment)" removes GNOME components
Summary: yum groupremove "KDE (K Desktop Environment)" removes GNOME components
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebase
Version: 10
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-21 17:54 UTC by Marcus Moeller
Modified: 2009-09-24 22:21 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-03-21 18:06:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.