SCIENTIFIC-LINUX-USERS Archives

October 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Patrick J. LoPresti" <[log in to unmask]>
Reply To:
Patrick J. LoPresti
Date:
Wed, 22 Oct 2014 08:45:13 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
On Wed, Oct 22, 2014 at 8:00 AM, Stephen Berg (Contractor)
<[log in to unmask]> wrote:
>
> If I put in a group to be installed that includes a package I don't want to
> install what's the proper way to set that up?

Not sure about "proper", but I have found that "-Package" in the
%packages section rarely does what I want. So I just remove unwanted
stuff in the %post section like so:

rpm -e Package

or

yum --disablerepo=\* --assumeyes remove Package

The former will fail if Package is required by something else
installed on the system. The latter will remove Package and everything
that requires it, recursively.

 - Pat

ATOM RSS1 RSS2