View previous topic :: View next topic |
Author |
Message |
zandor n00b
Joined: 19 Apr 2002 Posts: 7
|
Posted: Thu Apr 25, 2002 2:45 pm Post subject: Recovering from a broken portage |
|
|
I was a afraid this miight happen someday so I wish I had asked this earlier but is there any documentation somewhere on how to recover broken portage system? Currently I cannot use emerge or ebuild to update any packages. After doing an update (emerge --update world) last night a new pythone2.2 was installed that I'm guessing broke portage. Specifically here is the error.
zandor root # emerge -s arg
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 54, in ?
import fchksum,types
ImportError: No module named fchksum
Any help is appreciated.
-Zandor |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Thu Apr 25, 2002 2:52 pm Post subject: |
|
|
Yep, same thing happened to me. I filed a bug report and it ought to be fixed in CVS. But, here's the fix:
http://www.azstarnet.com/~donut/programs/fchksum.html
Download, unpack, run ./configure, run "python setup.py build", and run "python setup.py install" and everything should be good again. |
|
Back to top |
|
|
Guest
|
Posted: Thu Apr 25, 2002 3:03 pm Post subject: |
|
|
Just noticed this in the changelog. Guess I'll have to be a bit more careful of the worl update. I still love my "gotta have it now bleeding edge" gentoo box though!!
Thanks for the fix, I'll try it now...
-Zandor
# ChangeLog for dev-lang/python
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
# /space/gentoo/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.6 2002/04/25 02:03:01 jnelson Exp
*python-2.2-r6 (24 Apr 2002)
24 Apr 2002; Jon Nelson <jnelson@gentoo.org> python-2.2-r6.ebuild :
Make python build with shared modules.
Depends on python-fchksum, as fchksum *no longer built in* |
|
Back to top |
|
|
Target Apprentice
Joined: 25 Apr 2002 Posts: 200
|
|
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
|
|