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