Re: groupremove with exclusions ?

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1207158730.15651.79.camel@cutter>
On Wed, 2008-04-02 at 11:14 -0600, Michael Gale wrote:
> Hey,
> 
> 	Is there a simple way to remove a group with have an exclusion ?
> 
> For example I need to have xinetd installed but I also want to remove KDE ?
> 
> The following removes xinetd:
> yum groupremove "KDE (K Desktop Environment)"
> 
> I tried the command below but no luck ...
> yum --exclude=xinet* groupremove "KDE (K Desktop Environment)"

not really, no.

The easiest way is to do a groupinfo to present the list of pkgs in the
KDE group, then remove xinetd from that list and remove all the rest

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.