View previous topic :: View next topic |
Author |
Message |
thinker5555 Tux's lil' helper
Joined: 03 Jun 2002 Posts: 77 Location: Texas
|
Posted: Sun Sep 15, 2002 6:24 am Post subject: Portage errors while trying to install Gentoo 1.2 |
|
|
Hi,
I'm installing over a 56k modem, and I just downloaded the stage1 1.2 tarball. I untarred it to it's partition and picked up with the install. (I'm installing through another Gentoo installation) After chrooting, env-updating, sourcing /etc/profile, emerge rsyncing, and editing my make.conf file, I'm getting this error when I try to do anything that requires emerge (such as bootstrapping, emerging prozilla, or even doing rsync again):
Code: |
portage # emerge rsync
!!! Invalid token (not "=") -setting"
Traceback (most recent call last):
File "/usr/bin/emerge", line 6, in ?
import output
File "/usr/lib/python2.2/site-packages/output.py", line 4, in ?
import portage;
File "/usr/lib/python2.2/site-packages/portage.py", line 3286, in ?
db["/"]["porttree"]=portagetree("/",virts)
File "/usr/lib/python2.2/site-packages/portage.py", line 2416, in __init__
self.portroot=settings["PORTDIR"]
File "/usr/lib/python2.2/site-packages/portage.py", line 633, in __getitem__
self.populate()
File "/usr/lib/python2.2/site-packages/portage.py", line 622, in populate
useorder=self["USE_ORDER"]
File "/usr/lib/python2.2/site-packages/portage.py", line 640, in __getitem__
if x.has_key(mykey):
AttributeError: 'NoneType' object has no attribute 'has_key'
|
I've tried starting completely over, but it does the same thing each time. By looking at this, I'm guessing that there's something up with portage itself. Can anyone verify this, and can anyone suggest any solutions?
Thanks,
Jeremy |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sun Sep 15, 2002 4:53 pm Post subject: |
|
|
I agree with your diagnosis. Does it work if you find the highest-numbered version of the portage ebuild in /usr/portage/sys-apps/portage, and give the full path to that ebuild as an argument to emerge? Like: Code: | # emerge /usr/portage/sys-apps/portage/portage-2.0.36.ebuild |
_________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
thinker5555 Tux's lil' helper
Joined: 03 Jun 2002 Posts: 77 Location: Texas
|
Posted: Sun Sep 15, 2002 11:44 pm Post subject: |
|
|
Oddly enough, I didn't get a chance to find out. After posting last night, I started again, and surprisingly, everything went okay. The only thing that I did differently was my make.conf file, but I'm not even 100% sure what I did differently in that. I think it was something about the MAKEOPTS line. *sigh* But thanks for the suggestion, though. I'll keep that one under my belt for next time.
Jeremy |
|
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
|
|