Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191577 - No module named _md5
Summary: No module named _md5
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-07 11:33 UTC by crazy
Modified: 2011-10-30 23:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crazy 2007-09-07 11:33:12 UTC
after emerge -u world:

 # emerge


!!! Failed to complete portage imports. There are internal modules for
!!! portage and failure here indicates that you have a problem with your
!!! installation of portage. Please try a rescue portage located in the
!!! portage tree under '/usr/portage/sys-apps/portage/files/' (default).
!!! There is a README.RESCUE file that details the steps required to perform
!!! a recovery of portage.
    No module named _md5



!!! Failed to complete portage imports. There are internal modules for
!!! portage and failure here indicates that you have a problem with your
!!! installation of portage. Please try a rescue portage located in the
!!! portage tree under '/usr/portage/sys-apps/portage/files/' (default).
!!! There is a README.RESCUE file that details the steps required to perform
!!! a recovery of portage.
    No module named _md5

Traceback (most recent call last):
  File "/usr/bin/emerge", line 30, in <module>
    import portage
  File "/usr/lib/portage/pym/portage.py", line 56, in <module>
    import getbinpkg
  File "/usr/lib/portage/pym/getbinpkg.py", line 10, in <module>
    import htmllib,HTMLParser,formatter,sys,os,xpak,time,tempfile,base64,urllib2
  File "/usr/lib/python2.5/urllib2.py", line 88, in <module>
    import hashlib
  File "/usr/lib/python2.5/hashlib.py", line 133, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/usr/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5

Reproducible: Always
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-09-07 12:41:50 UTC
Post the output of:
cat /var/db/pkg/dev-lang/python-2.5*/USE
cat /var/db/pkg/dev-lang/python-2.5*/PKGUSE
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-09-10 21:27:10 UTC
NOT a bugzilla problem.
Comment 3 ade05fr 2008-11-10 14:39:45 UTC
(In reply to comment #2)
> NOT a bugzilla problem.
> 

i solved my problem with a method to recover portage :
"Manually fixing broken portage installations"

thanks