View previous topic :: View next topic |
Author |
Message |
progoth n00b
Joined: 18 Jun 2002 Posts: 15
|
Posted: Fri Nov 15, 2002 5:17 pm Post subject: emerge breaks hard on emerge -up world |
|
|
ever since I upgraded to portage 2.0.44, emerge breaks when I try emerge -up world, or emerge -p world. I get this:
Code: |
root@billy root # emerge -p world
These are the packages that I would merge, in order.
Calculating world dependencies \Traceback (most recent call last):
File "/usr/bin/emerge", line 1624, in ?
if not mydepgraph.xcreate(myaction):
File "/usr/bin/emerge", line 905, in xcreate
myeb=portage.portdb.xmatch("bestmatch-visible",mydep)
File "/usr/lib/python2.2/site-packages/portage.py", line 3117, in xmatch
myval=best(self.xmatch("match-visible",None,mydep,mykey))
File "/usr/lib/python2.2/site-packages/portage.py", line 3128, in xmatch
myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey))
File "/usr/lib/python2.2/site-packages/portage.py", line 3114, in xmatch
myval=self.gvisible(self.visible(self.cp_list(mykey)))
File "/usr/lib/python2.2/site-packages/portage.py", line 3196, in gvisible
myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"])
File "/usr/lib/python2.2/site-packages/portage.py", line 2882, in aux_get
myebuild=self.findname(mycpv)
File "/usr/lib/python2.2/site-packages/portage.py", line 2863, in findname
myloc=self.oroot+"/"+mysplit[0]+"/"+psplit[0]+"/"+mysplit[1]+".ebuild"
TypeError: unsubscriptable object
|
When I did that backup copy in /usr/portage/whatever/portage/files, emerge -up world worked (after I rewrote my %@#$@# make.conf that the backup killed). so then I re-emerged portage, and it started breaking again.
any ideas? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Fri Nov 15, 2002 5:38 pm Post subject: Re: emerge breaks hard on emerge -up world |
|
|
progoth wrote: | When I did that backup copy in /usr/portage/whatever/portage/files, emerge -up world worked (after I rewrote my %@#$@# make.conf that the backup killed). | Are you referring to the README.RESCUE file? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
progoth n00b
Joined: 18 Jun 2002 Posts: 15
|
Posted: Fri Nov 15, 2002 6:05 pm Post subject: |
|
|
well, README.RESCUE told me how to install the backup copy.... |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Nov 15, 2002 8:10 pm Post subject: |
|
|
Assuming it's a symlink, where is /etc/make.profile pointing? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
progoth n00b
Joined: 18 Jun 2002 Posts: 15
|
Posted: Fri Nov 15, 2002 8:14 pm Post subject: |
|
|
rac wrote: | Assuming it's a symlink, where is /etc/make.profile pointing? |
the right place, /usr/portage/profiles/default-x86-1.4/ |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Nov 15, 2002 8:29 pm Post subject: |
|
|
What happens when you do:
Code: | # cd /
# tar xvjpf /usr/portage/sys-apps/portage/files/portage-rescue-2.0.44-x86.tbz2
# emerge -V
# emerge -up portage |
_________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
progoth n00b
Joined: 18 Jun 2002 Posts: 15
|
Posted: Fri Nov 15, 2002 8:41 pm Post subject: |
|
|
rac wrote: | What happens when you do:
Code: | # cd /
# tar xvjpf /usr/portage/sys-apps/portage/files/portage-rescue-2.0.44-x86.tbz2
# emerge -V
# emerge -up portage |
|
the backup portage is extracted
Code: | root@billy / # emerge -V
Portage 2.0.44 (, gcc-3.2, glibc-2.2.5-r7) |
which is what I got before I untarred the backup
emerge -up world works with the backup
Code: | root@billy / # emerge -up portage
These are the packages that I would merge, in order.
Calculating dependencies ...done! |
Code: | root@billy / # emerge -p portage
These are the packages that I would merge, in order.
Calculating dependencies ...done!
[ebuild R ] sys-apps/portage-2.0.44 |
so then I emerged portage again, and emerge -up world breaks with the same errors. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Nov 15, 2002 8:42 pm Post subject: |
|
|
What is your python version, and if it's old, can you try updating python during your window of "happy portage time"? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
progoth n00b
Joined: 18 Jun 2002 Posts: 15
|
Posted: Fri Nov 15, 2002 8:56 pm Post subject: |
|
|
rac wrote: | What is your python version, and if it's old, can you try updating python during your window of "happy portage time"? |
2.2.1 (-r5)
I can try 2.2.2, I guess....
but I mean....nobody else seems to be having this problem, and it happened when I upgraded portage... |
|
Back to top |
|
|
progoth n00b
Joined: 18 Jun 2002 Posts: 15
|
Posted: Fri Nov 15, 2002 8:58 pm Post subject: |
|
|
hmmm, if I comment out my portage_overlay line in make.conf, portage works. so I guess I have something bad in there
that still doesn't explain why the backup version works... |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Nov 15, 2002 9:01 pm Post subject: |
|
|
progoth wrote: | 2.2.1 (-r5) |
That should be fine - that's what I've got.
Quote: | nobody else seems to be having this problem, and it happened when I upgraded portage... |
There are others, but I thought they all seemed to be pre-2.0 portage. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Nov 15, 2002 9:01 pm Post subject: |
|
|
progoth wrote: | hmmm, if I comment out my portage_overlay line in make.conf, portage works. so I guess I have something bad in there
that still doesn't explain why the backup version works... |
Yes it does - because the backup version blows away your make.conf. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
progoth n00b
Joined: 18 Jun 2002 Posts: 15
|
Posted: Fri Nov 15, 2002 9:04 pm Post subject: |
|
|
oh yeah
I was replacing my make.conf with my own....but not until after I ran emerge -up world
ok so what's changed that makes emerge break on my overlay? I've been looking through it and removed anything out of the ordinary, but it's still not working. |
|
Back to top |
|
|
|