RE: getnotincomps.py KeyError: aspell-sv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I pulled from FC1 the comps-extras SRPM to get the copy of getfullcomps.py.
I had to change the header to point to #!/usr/bin/python2.3

I used the document at
http://rau.homedns.org/twiki/bin/view/Anaconda/PreparingTheBuildEnvironment
in setting up the build area.

When I run getfullcomps.py i get the following error

[localhost fedora-original]# /usr/share/comps-extras/getfullcomps.py
comps.xml /home/FC2/fedora-original/ i386
Traceback (most recent call last):
  File "/usr/share/comps-extras/getfullcomps.py", line 204, in ?
    mypkgxml, nopackage, brokendep = main()
  File "/usr/share/comps-extras/getfullcomps.py", line 35, in main
    hdlist = readAndMergeHeaderList(path, arch)
  File "/usr/share/comps-extras/getfullcomps.py", line 27, in
readAndMergeHeaderList
    hdlist = rpm.readHeaderListFromFile("%s/%s/RedHat/base/hdlist" % (path,
arch))
rpm.error: (2, 'No such file or directory')


Thanks for the help,

Greg


-----Original Message-----
From: anaconda-devel-list-bounces@xxxxxxxxxx
[mailto:anaconda-devel-list-bounces@xxxxxxxxxx]On Behalf Of King, John
(Greg) (LMIT-HOU)
Sent: Wednesday, May 12, 2004 6:16 AM
Cc: 'anaconda-devel-list@xxxxxxxxxx'
Subject: RE: getnotincomps.py KeyError: aspell-sv


ill search around for it. Thanks :)

-Greg

-----Original Message-----
From: Taylor, ForrestX [mailto:forrestx.taylor@xxxxxxxxx]
Sent: Tuesday, May 11, 2004 2:17 PM
To: King, John (Greg) (LMIT-HOU)
Cc: 'anaconda-devel-list@xxxxxxxxxx'
Subject: Re: getnotincomps.py KeyError: aspell-sv


On Tue, 2004-05-11 at 11:40, King, John (Greg) (LMIT-HOU) wrote:
> Any idea on the above error? 
> 
> System Dell Workstation running Fedora Core 2 test 3
> 
> command
> >/usr/share/comps-extras/getnotincomps.py /home/FC2/fedora-load/ i386
> Fedora/base
> 
> Error Message
> File "/usr/share/comps-extras/getnotincomps.py", line 58, in ?
>   main()
> File "/usr/share/comps-extras/getnotincomps.py", line 47, in main
>   for pkg in comps.packages[name].dependencies:
> KeyError: 'aspell-sv'

Ah yes, you have reached the limits of getnotincomps.  As near as I can
tell, this is telling you that no packages depend on aspell-sv.  I
haven't debugged this, as I just use the old getfullcomps.py for now,
because it actually tells you the dependencies that are missing.  If I
get a chance, I'll see if I can figure out why getnotincomps is not
doing what we want it to do, and I'll buzilla it.

For now, you can just use the old getfullcomps.py, or I can find it and
post it here.

Forrest


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux