View previous topic :: View next topic |
Author |
Message |
dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
Posted: Sat Apr 27, 2002 6:55 am Post subject: emerge error, please help |
|
|
Hello all,
I got the following error while trzing to emerge xkeycaps and previously gentoolkit:
>>> original instance of package unmerged safely.
!!! Invalid token (not "=") PATH
Traceback (most recent call last):
File "/usr/bin/emerge", line 1122, in ?
mydepgraph.merge(mydepgraph.altlist())
File "/usr/bin/emerge", line 566, in merge
retval=portage.doebuild(y,"merge",myroot,edebug)
File "/usr/lib/python2.2/site-packages/portage.py", line 1000, in doebuild
return merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot,myebuild=settings["EBUILD"])
File "/usr/lib/python2.2/site-packages/portage.py", line 1079, in merge
mylink.merge(pkgloc,infloc,myroot,myebuild)
File "/usr/lib/python2.2/site-packages/portage.py", line 2784, in merge
self.treewalk(mergeroot,myroot,inforoot,myebuild)
File "/usr/lib/python2.2/site-packages/portage.py", line 2610, in treewalk
env_update()
File "/usr/lib/python2.2/site-packages/portage.py", line 241, in env_update
if myconfig.has_key(myspec):
AttributeError: 'NoneType' object has no attribute 'has_key'
Can anybody tell me how I could fix it?
Thanks very much. |
|
Back to top |
|
|
weasel n00b
Joined: 27 Apr 2002 Posts: 17 Location: New York
|
Posted: Sun Apr 28, 2002 7:29 am Post subject: |
|
|
I am merging xkeycaps now, and have not run into any problems yet.
When you post something like this it is helpful to include what platform you are running and "exactly" what you did to encounter the error. Another rule of thumb I like to live by is never post something as a "bug" unless you have done some independent testing to first determine if you are not in some way at fault. If you are unsure about where to post a problem try posting to the "All Things Gentoo" board.
So anyway, onto the situation at hand. I am using a PII 266 Dell Lattitude running Gentoo 1.1a for my tests. I had previously not had any X components installed so I needed to build the xfree base first. Since the portage system rocks, I was able to simply do the following:
Code: |
cd /usr/portage
emerge x-11-misc/xkeycaps
|
This installed xkeycaps along with "x-11-base/xfree" which was a dependancy. Since xfree is huge and my processor is sadly dated I am still compiling everything. No errors yet though. I know this does not give you a way to fix your problem, but perhaps if you post some more information about what is going on to produce this error we can find a solution.
Hope it helps,
- W e a s e l |
|
Back to top |
|
|
dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
Posted: Sun Apr 28, 2002 4:49 pm Post subject: |
|
|
thanks, I sorted the problem out myself - there was a script in /etc/init.d that contained an error so emerge halted when tried to do env-update |
|
Back to top |
|
|
Guest
|
Posted: Mon Apr 29, 2002 2:37 pm Post subject: can you be more specific? |
|
|
I have the same error, so it would be helpful to know which script and what/where the error was.
Thanks. |
|
Back to top |
|
|
dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
Posted: Mon Apr 29, 2002 8:08 pm Post subject: |
|
|
it was "20java" from /etc/init.d, so I simply removed it and everything works now |
|
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
|
|