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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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.... |
| ||||
| 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 |