View previous topic :: View next topic |
Author |
Message |
hulmeman Apprentice
Joined: 02 Jul 2002 Posts: 184 Location: Duchy of Lancaster, England.
|
Posted: Tue Jul 02, 2002 8:13 pm Post subject: emerge error |
|
|
Ive installed GENTOO and Im seriously impressed, till I installed netbeans. When I now try to install anything, nothing happens and I get this error message:
emerge -s dev-util/anjuta
!!! Invalid token (not "=") It's
Traceback (most recent call last):
File "/usr/bin/emerge", line 2, in ?
import os,sys,portage,xpak,string,re,commands,time,threading,grp
File "/usr/lib/python2.2/site-packages/portage.py", line 3468, in ?
settings=config()
File "/usr/lib/python2.2/site-packages/portage.py", line 648, in __init__
useorder=self["USE_ORDER"]
File "/usr/lib/python2.2/site-packages/portage.py", line 713, in __getitem__
if x.has_key(mykey):
AttributeError: 'NoneType' object has no attribute 'has_key'
Anyone help me?
Thanks
Baz
|
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Jul 02, 2002 8:15 pm Post subject: |
|
|
That's not a netbeans thing, that's a Portage bug that the dev team knows about. A new version, with a fix, will be out Real Soon Now (TM). _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Jul 02, 2002 8:19 pm Post subject: |
|
|
It looks like portage might be broken. Do you know which version you have? Also, I think 'emerge -s anjuta'
is the command you want. For me, including dev-util returned 0 applications found. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Jul 02, 2002 8:22 pm Post subject: |
|
|
Wait a minute... that's not the Real Soon Now (TM) bug.
Try using "emerge rsync --clean; emerge portage" to update your tree and re-install Portage. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Jul 02, 2002 8:28 pm Post subject: |
|
|
delta407 wrote: | Wait a minute... that's not the Real Soon Now (TM) bug.
Try using "emerge rsync --clean; emerge portage" to update your tree and re-install Portage. | Just curious... was there something in particular that clued you in to this?
I'd hate to see "emerge rsync --clean; emerge portage" become Gentoo's
version of Microsoft's reboot _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Jul 02, 2002 8:35 pm Post subject: |
|
|
kanuslupus wrote: | Just curious... was there something in particular that clued you in to this? |
Yeah. The Real Soon Now (TM) bug is in dependency graph creation:
Code: | # emerge world -ep
These are the packages that I would merge, in order.
Calculating world dependencies -Traceback (most recent call last):
File "/usr/bin/emerge", line 1227, in ?
if not mydepgraph.syscreate(getworldlist()):
File "/usr/bin/emerge", line 523, in syscreate
if not self.create(self.match(myline,mykey="syscreate1")):
File "/usr/bin/emerge", line 466, in create
if not self.create(mynew,mybigkey):
File "/usr/bin/emerge", line 466, in create
if not self.create(mynew,mybigkey):
File "/usr/bin/emerge", line 466, in create
if not self.create(mynew,mybigkey):
File "/usr/bin/emerge", line 466, in create
if not self.create(mynew,mybigkey):
File "/usr/bin/emerge", line 466, in create
if not self.create(mynew,mybigkey):
File "/usr/bin/emerge", line 466, in create
if not self.create(mynew,mybigkey):
File "/usr/bin/emerge", line 410, in create
edepend=portage.db[myroot]["porttree"].dbapi.aux_get(mykey,portage.auxdbkeys)
File "/usr/lib/python2.2/site-packages/portage.py", line 2565, in aux_get
self.auxcache[mycpv][auxdbkeys[x]]=mylines[x][:-1]
IndexError: list index out of range |
...whereas this error (which I didn't read very much ) is not:
Code: | !!! Invalid token (not "=") It's
Traceback (most recent call last):
File "/usr/bin/emerge", line 2, in ?
import os,sys,portage,xpak,string,re,commands,time,threading,grp
File "/usr/lib/python2.2/site-packages/portage.py", line 3468, in ?
settings=config()
File "/usr/lib/python2.2/site-packages/portage.py", line 648, in __init__
useorder=self["USE_ORDER"]
File "/usr/lib/python2.2/site-packages/portage.py", line 713, in __getitem__
if x.has_key(mykey):
AttributeError: 'NoneType' object has no attribute 'has_key' |
_________________ I don't believe in witty sigs. |
|
Back to top |
|
|
hulmeman Apprentice
Joined: 02 Jul 2002 Posts: 184 Location: Duchy of Lancaster, England.
|
Posted: Tue Jul 02, 2002 11:32 pm Post subject: |
|
|
mmmmmmmmmmmmmmmm!
none the wiser here, what can i do?
Even a fixed version wont install, as emerge is broken!
Baz |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Wed Jul 03, 2002 2:00 am Post subject: |
|
|
hulmeman wrote: | mmmmmmmmmmmmmmmm!
none the wiser here, what can i do?
Even a fixed version wont install, as emerge is broken!
Baz | You did do the 'emerge rsync --clean; emerge portage', correct? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
hulmeman Apprentice
Joined: 02 Jul 2002 Posts: 184 Location: Duchy of Lancaster, England.
|
Posted: Wed Jul 03, 2002 6:18 am Post subject: |
|
|
i tried
'emerge rsync --clean; emerge portage'
I tried
'emerge [everything]'
and always get the identical error!
'!! Invalid token (not "=") It's
Traceback (most recent call last):
File "/usr/bin/emerge", line 2, in ?
import os,sys,portage,xpak,string,re,commands,time,threading,grp
File "/usr/lib/python2.2/site-packages/portage.py", line 3468, in ?
settings=config()
File "/usr/lib/python2.2/site-packages/portage.py", line 648, in __init__
useorder=self["USE_ORDER"]
File "/usr/lib/python2.2/site-packages/portage.py", line 713, in __getitem__
if x.has_key(mykey):
AttributeError: 'NoneType' object has no attribute 'has_key'
My portage is version 2.0.8
Baz |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Jul 03, 2002 6:24 am Post subject: |
|
|
You can use one of the Portage recovery tarballs. I don't want to re-invent the wheel, so I'm going to have to say: RTFM.
(In the nicest way possible, of course. )
Code: | # less /usr/portage/sys-apps/portage/files/README.RESCUE |
_________________ I don't believe in witty sigs. |
|
Back to top |
|
|
hulmeman Apprentice
Joined: 02 Jul 2002 Posts: 184 Location: Duchy of Lancaster, England.
|
Posted: Wed Jul 03, 2002 7:40 am Post subject: |
|
|
Thanks Delta!
Worked a treat (once Id tracked the tarball down)
Sweet as now!
Baz |
|
Back to top |
|
|
|
|
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
|
|