Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New problem with `emerge -uDav world`
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
andrewski
Guru
Guru


Joined: 30 Apr 2004
Posts: 366
Location: Royersford, PA, USA

PostPosted: Sun Aug 08, 2004 6:44 am    Post subject: New problem with `emerge -uDav world` Reply with quote

I ran a sync this morning and then ran the good ole `emerge -uDav world`, but got the following (baffling, to me) errors:
Code:
root:andrew$ emerge -Duav world

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

Calculating world dependencies -Traceback (most recent call last):
  File "/usr/bin/emerge", line 2517, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1135, in xcreate
    if not self.create(myk):
  File "/usr/bin/emerge", line 825, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 936, in select_dep
    mycheck=portage.dep_check(depstring,self.mydbapi[myroot],self.pkgsettings,myuse=myuse)
  File "/usr/lib/portage/pym/portage.py", line 3307, in dep_check
    mylist=flatten(dep_listcleanup(dep_zapdeps(mysplit,mysplit2)))
  File "/usr/lib/portage/pym/portage.py", line 3050, in dep_zapdeps
    myresult=dep_zapdeps(unreduced[x],reduced[x])
  File "/usr/lib/portage/pym/portage.py", line 3017, in dep_zapdeps
    if not mydbapi.match(y):
  File "/usr/lib/portage/pym/portage.py", line 4136, in match
    mydep=dep_expand(origdep,self,use_cache=use_cache)
  File "/usr/lib/portage/pym/portage.py", line 3253, in dep_expand
    elif mydep[:1] in "=<>~!":
TypeError: 'in <string>' requires string as left operand

What does this mean? The only thing I've done recently that seems pertinent and major was to switch my running kernel to love-sources.
Back to top
View user's profile Send private message
BlindSpy
Apprentice
Apprentice


Joined: 20 Mar 2004
Posts: 263

PostPosted: Sun Aug 08, 2004 11:05 pm    Post subject: Reply with quote

I'd try deleting all files in /usr/portage/distfiles/ then re 'emerge sync' and try over again. I've seen this before but I cant remember how to fix it.
_________________
Symlinks to:
xorg.conf
Back to top
View user's profile Send private message
andrewski
Guru
Guru


Joined: 30 Apr 2004
Posts: 366
Location: Royersford, PA, USA

PostPosted: Sun Aug 08, 2004 11:08 pm    Post subject: Reply with quote

Blindspy, I'd appreciate if you (or anyone else) could confirm whether this is the same thing as this bug:
https://bugs.gentoo.org/show_bug.cgi?id=41869

I meant to add that link here when I found it.
Otherwise, is deleting /usr/portage/distfiles/* safe?
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Mon Aug 09, 2004 7:26 am    Post subject: Reply with quote

It may be the same. Please try emerge -duD world to see at what point the traceback occurs and if it is the same kind of nested conditional dependency problem. The bug activity log doesn't indicate that the bug was ever marked as resolved fixed so there is a chance that it is only fixed in 2.0.51.

Cleaning the distfiles directory is safe, but if you have a download cap or low bandwith it may not be what you want to do. You may want to use distclean (or eclean), though, as it only removes distfiles for uninstalled package versions.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Mon Aug 09, 2004 8:36 am    Post subject: Reply with quote

:oops: Thanks andrewski for bumping that other thread!

Moved from Portage & Programming. Please post any follow ups in https://forums.gentoo.org/viewtopic.php?t=151453
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
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