I'm having a problem with portage. When I try to emerge -u world I get this 
error:
bash-2.05b# emerge -u world
Calculating world dependencies
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2022, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 926, in xcreate
    if portage.db["/"]["vartree"].dbapi.match(x):
  File "/usr/lib/python2.2/site-packages/portage.py", line 3149, in match
    mydep=dep_expand(origdep,self)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2603, in dep_expand
    return prefix+cpv_expand(mydep,mydb)+postfix
  File "/usr/lib/python2.2/site-packages/portage.py", line 2536, in cpv_expand
    if (not mydb.cp_list(mykey)) and virts and virts.has_key(mykey):
  File "/usr/lib/python2.2/site-packages/portage.py", line 3101, in cp_list
    mystat=os.stat(self.root+"var/db/pkg/"+mysplit[0])[ST_MTIME]
TypeError: stat() argument 1 must be (encoded string without NULL bytes), not 
str
bash-2.05b#

I have upgraded portage a couple of times after this problem first arised, but 
it hasn't helped. Does anybody know what's wrong?

-Ole Kristian Tørresen 


--
[EMAIL PROTECTED] mailing list

Reply via email to