Unix Technical Forum

getfullcomps.py Generates Errors - Please Help Fix

This is a discussion on getfullcomps.py Generates Errors - Please Help Fix within the Linux Operating System forums, part of the Unix Operating Systems category; --> 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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 07:08 AM
Hank Kingwood
 
Posts: n/a
Default getfullcomps.py Generates Errors - Please Help Fix

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.
--
Hank

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 07:08 AM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: getfullcomps.py Generates Errors - Please Help Fix

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....

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 07: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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:46 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com