Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -up world error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
lucid
n00b
n00b


Joined: 02 Jan 2003
Posts: 12
Location: Norway

PostPosted: Wed May 28, 2003 8:59 pm    Post subject: emerge -up world error Reply with quote

Code:

amanda root # emerge -up world

These are the packages that I would merge, in order:

Calculating world dependencies 
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1902, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 855, in xcreate
    if portage.db["/"]["vartree"].dbapi.match(x):
  File "/usr/lib/python2.2/site-packages/portage.py", line 3042, in match
    mydep=dep_expand(origdep,self)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2508, in dep_expand
    return prefix+cpv_expand(mydep,mydb)+postfix
  File "/usr/lib/python2.2/site-packages/portage.py", line 2441, 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 3005, 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


using Portage 2.0.48
emerge -up system works just fine though.
tried regenworld and that dident fix the problem, neither did downgrading portage.
Help :!:

lucy
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed May 28, 2003 10:31 pm    Post subject: Reply with quote

Can you check your virtuals file /var/cache/edb/virtuals for corruption?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
lucid
n00b
n00b


Joined: 02 Jan 2003
Posts: 12
Location: Norway

PostPosted: Wed May 28, 2003 11:01 pm    Post subject: Reply with quote

Code:

amanda root # cat /var/cache/edb/virtuals
virtual/blackbox x11-wm/waimea x11-wm/fluxbox
virtual/xft x11-base/xfree x11-libs/xft
virtual/cron sys-apps/vcron
virtual/quicktime media-libs/quicktime4linux
sys-apps/console-tools sys-apps/kbd
virtual/glu x11-base/xfree
virtual/inetd sys-apps/netkit-base sys-apps/xinetd
virtual/module-tools sys-apps/modutils
virtual/x11 x11-base/xfree
virtual/jdk dev-java/blackdown-jdk
virtual/cdrtools app-cdr/cdrtools
virtual/bootloader sys-apps/grub
virtual/opengl media-video/nvidia-glx x11-base/xfree
virtual/os-headers sys-kernel/linux-headers
virtual/sylpheed net-mail/sylpheed-claws
virtual/python dev-lang/python
virtual/kernel sys-kernel/linux-headers
virtual/aspell-dict app-dicts/aspell-no app-dicts/aspell-en
virtual/alsa media-sound/alsa-driver
virtual/modutils sys-apps/module-init-tools sys-apps/modutils
virtual/motif x11-libs/lesstif
virtual/java-scheme dev-java/blackdown-jdk dev-java/blackdown-jre
virtual/glut media-libs/glut
virtual/linux-sources sys-kernel/mm-sources sys-kernel/vanilla-sources sys-kernel/gentoo-sources
virtual/editor app-editors/gvim app-editors/vim
virtual/textbrowser net-www/links net-www/lynx
virtual/lpr net-print/cups
virtual/mta net-mail/ssmtp
virtual/jre dev-java/blackdown-jdk dev-java/blackdown-jre
virtual/glibc sys-libs/glibc
amanda root #
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum