View previous topic :: View next topic |
Author |
Message |
Peter Guest
|
Posted: Tue May 21, 2002 10:18 am Post subject: Have I f****d up my emerge? |
|
|
I ran
Code:
emerge portmap
and got a message telling me a few configs needed updates... I then followed instructions and ran
Code:
emerge --help config
I got the impression from this help that it might help setting the variable CONFIG_PROTECT_MASK in /etc/make.conf to something like ="/etc/wget /et/rc.conf". I don't remember exactly what the help told me to set this variable too because now I cant get portage running anymore. I do believe I have set it to the exact thing that the example in the help told me to. After that whwnever i run emerge I get this error message:
Quote:
bash-2.05a# emerge
!!! Invalid token (not "=") options
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 3328, in ?
db["/"]["porttree"]=portagetree("/",virts)
File "/usr/lib/python2.2/site-packages/portage.py", line 2458, in __init__
self.portroot=settings["PORTDIR"]
File "/usr/lib/python2.2/site-packages/portage.py", line 675, in __getitem__
self.populate()
File "/usr/lib/python2.2/site-packages/portage.py", line 664, in populate
useorder=self["USE_ORDER"]
File "/usr/lib/python2.2/site-packages/portage.py", line 682, in __getitem__
if x.has_key(mykey):
AttributeError: 'NoneType' object has no attribute 'has_key'
bash-2.05a#
Offcource I removed this line I added to my make.conf but it didn't help me much. Perhaps this error didn't have anything to do with me editing this file then? Can anyone please help me because I would really hate to haveto reinstall my system again, I just got it working almost as I wanted to. Btw I am running the stage2 version of the 1.2 Gentoo build.
I really appreciate all help on this guys.
Peter[/code] |
|
Back to top |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Tue May 21, 2002 10:57 am Post subject: |
|
|
# source /etc/profile
then try again _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
Jeevz Bodhisattva
Joined: 15 Apr 2002 Posts: 195 Location: Boston, MA
|
Posted: Tue May 21, 2002 3:01 pm Post subject: |
|
|
Please do not post the same thread in different forums. For more info read the Guidlines.
Further posts related to this thread should be submitted here.
Thank you. |
|
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
|
|