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

Re: python errors in pkgorder script



On Fri, 2004-01-23 at 09:51, Andy Rabagliati wrote:
> Folks,
> 
>   I am building a custom distro based on Fedora and my own rpms
>   and a good selection from various repositories.
> 
>   This has worked fine before, but tidying things up and fleshing
>   out my comps file I now get this error :-
> 
> 
> % /usr/lib/anaconda-runtime/genhdlist --productpath=Fedora /export/i386
> % cp comps-wizzy.xml /export/i386/Fedora/base/comps.xml
> % PYTHONPATH=/usr/lib/anaconda /usr/lib/anaconda-runtime/pkgorder /export/i386 i386 Fedora > /export/pkgorder.txt
> Traceback (most recent call last):
>   File "/usr/lib/anaconda-runtime/pkgorder", line 240, in ?
>     group.select(selectOptional = 1)
>   File "/usr/lib/anaconda/hdrlist.py", line 639, in select
>     self.selectDeps([pkgnevra])                
>   File "/usr/lib/anaconda/hdrlist.py", line 528, in selectDeps
>     for dep in deps:
> TypeError: iteration over non-sequence

Edit /usr/share/comps-extras/getfullcomps.py and change /RedHat to
/Fedora.

Run getfullcomps.py:

/usr/share/comps-extras/getfullcomps.py /export i386 >/dev/null

That should tell you if you have dependencies or packages missing from
your tree.

Forrest
-- 





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