Find the answer to your Linux question:
Results 1 to 2 of 2
while running 'emerge -Uuvp world', emerge gave me this error after trying to calculate the dependencies for that massive upgrade (i've been away from my puter for 3 wks): Code: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    Sep 2003
    Location
    Knoxhell, TN
    Posts
    1,078

    portage went batty on me...


    while running 'emerge -Uuvp world', emerge gave me this error after trying to calculate the dependencies for that massive upgrade (i've been away from my puter for 3 wks):
    Code:
    nod metadata # emerge -Uuvp world
    
    These are the packages that I would merge, in order:
    
    Calculating world dependencies |
    
    Traceback (most recent call last):
      File "/usr/bin/emerge", line 2170, in ?
        if not mydepgraph.xcreate(myaction):
      File "/usr/bin/emerge", line 1036, in xcreate
        if not self.create(myk):
      File "/usr/bin/emerge", line 749, in create
        if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
      File "/usr/bin/emerge", line 939, in select_dep
        if not self.create(myk,myparent,myuse=binpkguseflags):
      File "/usr/bin/emerge", line 749, in create
        if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
      File "/usr/bin/emerge", line 939, in select_dep
        if not self.create(myk,myparent,myuse=binpkguseflags):
      File "/usr/bin/emerge", line 749, in create
        if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
      File "/usr/bin/emerge", line 871, in select_dep
        myeb=portage.portdb.xmatch("bestmatch-visible",x)
      File "/usr/lib/portage/pym/portage.py", line 4065, in xmatch
        myval=best(self.xmatch("match-visible",None,mydep,mykey))
      File "/usr/lib/portage/pym/portage.py", line 4076, in xmatch
        myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey))
      File "/usr/lib/portage/pym/portage.py", line 4062, in xmatch
        myval=self.gvisible(self.visible(self.cp_list(mykey)))
      File "/usr/lib/portage/pym/portage.py", line 4145, in gvisible
        myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"])
      File "/usr/lib/portage/pym/portage.py", line 3822, in aux_get
        writemsg(str(red("\naux_get():")+" (0) Error in "+mycpv+" ebuild. ("+str(ret)+")\n"
    NameError: global name 'ret' is not defined
    i wonder if maybe this happened because i had to kill the power while it was in the middle of running (don't ask)... any ideas on what the problem is?

  2. #2
    Linux Engineer
    Join Date
    Sep 2003
    Location
    Knoxhell, TN
    Posts
    1,078
    i looked on the gentoo forums and found this thread that explains the problem...
    http://forums.gentoo.org/viewtopic.p...ght=global+ret
    two letters were missing...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •