Re: Package Selection Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brian,

Hacking the comps was the only way I found to get rid of stubborn packages

Can we/I get a copy of your comps.xml (or a diff against another one
from redhat) and the packages section of the ks.cfg

I'll build a machine then I can see whats going on

Neil

Brian Long wrote:
Neil,

Hacking the comps file is fine.  In our case, we have one comps or
comps.xml file which encompasses many different setups.

We have an Engineering Workstation, Engineering Server and DMZ Server
group defined.  If I kickstart the DMZ Server group, it pulls in Mozilla
even though I have --ignoredeps set AND Mozilla is nowhere in the DMZ
group.  elinks is inside the DMZ group and provides "webclient", but
Mozilla still gets pulled in.  This is very frustrating since we don't
want anything pulled in automagically.  We want to specify in the comps
group exactly what gets installed.

/Brian/

On Tue, 2004-03-02 at 20:07, Neil wrote:

I prefer to hack the comps file (now /RedHat/base/comps.xml). You can
really say what you want and add you own sense of logic to what goes
where when.

add your own groups and refer to those in the kickstart file just as you
would any other

This keeps all your package configs in one file so its much easier to
see whats where
(ok its not hard searching kickstart files)

I have found redhats mandatory package choices are to blame for most of
the I said -package but it still gets added

You can eat away at Base and remove the many mandatorys to your hearts
content

some of their choices are crazy

hands up who thinks ntsysv should be a mandatory package ? anyone ?


Mac,

In our environment, we've always used %packages --ignoredeps since we
want to specify each and every package (no automatic dep resolution). This has worked up until RHEL. We would tune our package set as
needed.  We then login to a box and run "rpm -Va --nofiles" and look for
broken dependencies (and fix them).

RHEL 3 broke the --ignoredeps flag and we've been escalating this for a
few weeks now.  Someone decided --ignoredeps should no longer be
implemented  :-(  but it's still in the documentation.  We require this
to properly load DMZ images, etc.  Sometimes we want a package installed
even it it relies on a package we don't want installed.

For some reason, mozilla gets installed as a "webclient" even though
"elinks" also provides "webclient".  We don't want mozilla on our DMZ
image, but it gets pulled in anyways.  Gotta love "enterprise" linux :-|

/Brian/


On Fri, 2004-02-27 at 17:12, Mac McClellan wrote:

The RedHat Customization Guide for RedHat 9.0 says the following:

<snip>
You can also specify which packages not to install from the default
package list:
@ Games and Entertainment
-kdegames
<snip>


I read that as: "If you want to NOT install a package then put a '-' in
front of it and it will not install.

I want to NOT install a bunch of packages that are not needed on my
system.
The appropriate section of my ks.cfg file looks like this:

%packages --resolvedeps
@ dns-server
@ compat-arch-support
kernel
grub
ntp
-apmd
-ash
-aspell-da
-aspell-de
-aspell-en-ca
-aspell-en-gb
-aspell-es
<snip - a whole bunch more - snip>


For some reason the installer installs everything anyway.
I'm working with RedHat Enterprise Linux ES.  The documentation for
Kickstart on Enterprise does not seem to exist, but I'm assuming that
the RedHat 9.0 is virtually the same.

Can anyone see what I'm doing wrong?

Thanks!




Mac McClellan
Sr. Network Engineer
Nu Skin Enterprises, Inc.
75 West Center Street
Provo, Utah 84601
801-437-7295


_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

--
      Brian Long                      |         |           |
      Americas IT Hosting Sys Admin   |       .|||.       .|||.
      Cisco Linux Developer           |   ..:|||||||:...:|||||||:..
      Phone: (919) 392-7363           |   C i s c o   S y s t e m s






_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux