Red Hat Bugzilla – Bug 46336
kickstart cannot install perl RPM as an 'individual package'
Last modified: 2007-04-18 12:34:15 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2 i686)
Description of problem:
When using kickstart, in the %packages section, the package 'perl' gets
ignored. This is usually only a problem when you want a VERY minimal
(such as @Base) and a few other custom RPMs. Most (all?) RedHat bundles
a perl depency, and perl was part of the 7.0 base package.
Steps to Reproduce:
1. Create a ks.cfg file with no RedHat packages selected.
2. Select the 'individual package' perl e.g:
part swap --size 100
3. Kickstart the server
@ Base components are all installed, perl is not. No errors are generated,
is not mentioned in /tmp/install.log
Actual Results: perl is not installed
Expected Results: perl 5.6.0 is installed
We are HEAVY users of kickstart. We have some ppl developing appliance
type applications that need perl and we expected kickstart/anaconda to
it with the above %package line. I've added defensive logic to my code
IF it's 7.1 and IF you don't select something that slurps perl in during
resolution time, the first line of %post installs it. Bites for CDROM
though (and my profiles must support both CD & Network installs).
Since perl was in @Base for 7.0, it seems anaconda kind of 'expects' it to
there in 7.1 and drops my selection.
I tried it with and without @Base in ks.cfg, no joy.
Yes, this problem has been reported before and has been fixed in the latest
internal builds. Thanks for your report.