View Single Post

   
  #3 (permalink)  
Old 01-17-2008, 08:09 AM
Hank Kingwood
 
Posts: n/a
Default Re: getfullcomps.py Generates Errors - Please Help Fix

Nico Kadel-Garcia wrote:
> Hank Kingwood wrote:
>
>> I'm trying to incorporate my RPMs into a kickstart install and I'm
>> using /usr/share/comps-extras/getfullcomps.py with the following
>> syntax and errors:
>>
>> [root@darkstar]# /usr/share/comps-extras/getfullcomps.py comps.xml
>> /redhat9 i386
>> Traceback (most recent call last):
>> File "/usr/share/comps-extras/getfullcomps.py", line 187, in ?
>> main()
>> File "/usr/share/comps-extras/getfullcomps.py", line 39, in main
>> hdlist = readAndMergeHeaderList(path, arch)
>> File "/usr/share/comps-extras/getfullcomps.py", line 22, in
>> readAndMergeHeaderList
>> hdlist = rpm.readHeaderListFromFile("%s/%s/RedHat/base/hdlist"
>> rpm404.error: (2, 'No such file or directory')
>>
>> The path to comps.xml is /redhat9/RedHat/base/comps.xml.
>>
>> Anyone know how to get rid of the errors? Thanks.

>
>
> Why not just do them post-insallation using a bit of shell scripting in
> your ks.cfg? That's how *I* do it....


That's what I had to resort to, but I'm a purist... I'd like to get
this working to make life more streamlined and also remove the
vulnerable versions of openssh from the Red Hat 9 rpm list. I thought I
could simply replace the vulnerable rpms of openssh with the latest rpms
and have Anaconda rock-n-roll. That didn't work...

If I could have getfullcomps.py work, I would be able to sleep at night...
--
Hank

Reply With Quote