Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge broken
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
tran
n00b
n00b


Joined: 07 Apr 2004
Posts: 7

PostPosted: Wed Apr 07, 2004 10:48 am    Post subject: emerge broken Reply with quote

hi all,

after one week, I run "emerge sync" this morning on one of my machines. This stopped at:
Code:

>>> Updating Portage cache...  ...done!

Traceback (most recent call last):
  File "/usr/bin/emerge", line 2250, in ?
    reload(portage)
  File "/usr/lib/portage/pym/portage.py", line 6128, in ?
    settings.regenerate() # XXX: Regenerate use after we get a vartree -- GLOBAL
  File "/usr/lib/portage/pym/portage.py", line 1392, in regenerate
    self.configdict["auto"]["USE"]=autouse(db[root]["vartree"],use_cache=use_cache)
  File "/usr/lib/portage/pym/portage.py", line 1121, in autouse
    myresult=dep_check(mydep,myvartree.dbapi,None,use="no",use_cache=use_cache)
  File "/usr/lib/portage/pym/portage.py", line 3309, in dep_check
    mylist=flatten(dep_listcleanup(dep_zapdeps(mysplit,mysplit2)))
  File "/usr/lib/portage/pym/portage.py", line 3052, in dep_zapdeps
    myresult=dep_zapdeps(unreduced[x],reduced[x])
  File "/usr/lib/portage/pym/portage.py", line 3038, in dep_zapdeps
    elif myportapi.match(x):
AttributeError: 'NoneType' object has no attribute 'match'


Now, emerge is broken .. on every run (with any options) it's exiting with:
Code:

scotty root # emerge
Traceback (most recent call last):
  File "/usr/bin/emerge", line 14, in ?
    import portage
  File "/usr/lib/portage/pym/portage.py", line 6128, in ?
    settings.regenerate() # XXX: Regenerate use after we get a vartree -- GLOBAL
  File "/usr/lib/portage/pym/portage.py", line 1392, in regenerate
    self.configdict["auto"]["USE"]=autouse(db[root]["vartree"],use_cache=use_cache)
  File "/usr/lib/portage/pym/portage.py", line 1121, in autouse
    myresult=dep_check(mydep,myvartree.dbapi,None,use="no",use_cache=use_cache)
  File "/usr/lib/portage/pym/portage.py", line 3309, in dep_check
    mylist=flatten(dep_listcleanup(dep_zapdeps(mysplit,mysplit2)))
  File "/usr/lib/portage/pym/portage.py", line 3052, in dep_zapdeps
    myresult=dep_zapdeps(unreduced[x],reduced[x])
  File "/usr/lib/portage/pym/portage.py", line 3038, in dep_zapdeps
    elif myportapi.match(x):
AttributeError: 'NoneType' object has no attribute 'match'


On another machine the "emerge sync" and "emerge -U world" worked. There is an update for portage available. Perhaps this caused the problems?!

This should be the portage versions on my broken machine:
Code:

 sys-apps/portage
    selected: 2.0.50-r1
   protected: 2.0.50-r3


Hope anyone can help me and greetings from Germany, Volker
Back to top
View user's profile Send private message
btg308
n00b
n00b


Joined: 14 Aug 2002
Posts: 72
Location: Östersund, Sweden

PostPosted: Wed Apr 07, 2004 10:56 am    Post subject: Reply with quote

On another machine the "emerge sync" and "emerge -U world" worked.

What is the difference between the working and non-working machine? Different portage versions?
_________________
Gentoo Linux - Feel the speed.
Kawasaki GPZ 1100 - The need for speed.
Back to top
View user's profile Send private message
tran
n00b
n00b


Joined: 07 Apr 2004
Posts: 7

PostPosted: Wed Apr 07, 2004 11:02 am    Post subject: Reply with quote

uhm, it worked on my workstation which has some ~x86 builds installed. it failed on my fileserver which is almost stable.

in fact, the portage versions i've posted are from my workstation but this should be the versions on my fileserver cause i'm mostly updating all machines at one time.
Back to top
View user's profile Send private message
btg308
n00b
n00b


Joined: 14 Aug 2002
Posts: 72
Location: Östersund, Sweden

PostPosted: Wed Apr 07, 2004 11:04 am    Post subject: Reply with quote

Both the existing install that failed for me and the new install are a stable servers. I'll try it on one of the ~x86 workstations and see what happens...
_________________
Gentoo Linux - Feel the speed.
Kawasaki GPZ 1100 - The need for speed.
Back to top
View user's profile Send private message
GamesBond
n00b
n00b


Joined: 15 Mar 2004
Posts: 66
Location: Amsterdam

PostPosted: Wed Apr 07, 2004 11:08 am    Post subject: Reply with quote

My install is hosed too, I did an emerge -u world this morning, the next emerge sync failed miserably. 8O
Back to top
View user's profile Send private message
Peerke
n00b
n00b


Joined: 07 Apr 2004
Posts: 9

PostPosted: Wed Apr 07, 2004 11:12 am    Post subject: Reply with quote

Almost the same problem here.
I did a emerge -p world to check what new update where avaible.
After that I did a emerge sync and now it's all broken. I can't use emerge any more. :cry:
Back to top
View user's profile Send private message
Hayl
Guru
Guru


Joined: 28 Jan 2003
Posts: 442
Location: Calgary, Alberta, Canada

PostPosted: Wed Apr 07, 2004 11:22 am    Post subject: Reply with quote

Same problem here.

I unpacked the rescue portage tree and tried again and it is still broken.
Back to top
View user's profile Send private message
btg308
n00b
n00b


Joined: 14 Aug 2002
Posts: 72
Location: Östersund, Sweden

PostPosted: Wed Apr 07, 2004 11:38 am    Post subject: Reply with quote

Fix here: https://forums.gentoo.org/viewtopic.php?p=1021314

https://bugs.gentoo.org/show_bug.cgi?id=40831
_________________
Gentoo Linux - Feel the speed.
Kawasaki GPZ 1100 - The need for speed.
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Wed Apr 07, 2004 11:54 am    Post subject: Reply with quote

Please follow up to this thread:

https://forums.gentoo.org/viewtopic.php?t=158444
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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