Re: Error running 8.0 pkgorder

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

 



Törrönen, Paul-Erik wrote:
Does anyone else get an error when running the command:

# pkgorder /redhat/i386 i386 > pkgorder.txt Traceback (most recent call last):
File "/usr/lib/anaconda-runtime/pkgorder", line 93, in ?
pkgHash[hdlist[package].h] = None
TypeError: unhashable type

The offending lines are:

91: hdlist[package].selected = 1
92: pkgOrder.append(hdlist[package].h)
93: pkgHash[hdlist[package].h] = None

My python-skill is very poor, but when I tried to print the
hash-key I got the following error:

# pkgorder /redhat/i386 i386 > pkgorder.txt Traceback (most recent call last):
File "/usr/lib/anaconda-runtime/pkgorder", line 93, in ?
print "Value: " + hdlist[package].h
TypeError: cannot concatenate 'str' and 'rpm.hdr' objects

It seems that the script tries to put an object as
hash-key.

I have the newest anaconda, comps-extras as well as
dietlibc from rawhide.

The genhdlist runs without fatal error as well as
buildinstall (if I don't issue the --pkgorder
parameter) and the getfullcomps.py runs also
without a hitch.

I've tried to create the pkgorder.txt both on my
modified buidltree as well as on a unmodified, both
yelding the same error and I could not find a mention
of this on the list.

BTW is there any list of the minimal required
packages needed to build a working installation, other
than that which can be deduced from the upd-instroot
script?

Try running pkgorder like this:

PYTHONPATH=/usr/lib/anaconda pkgorder /redhat/i386 i386 > pkgorder.txt

Also, do you have the comps rpm installed (rpm -q comps)?

I'm not sure that anyone has compiled a minimal list of packages required. When you figure it out, why don't you post it here?

Forrest
--





[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