$ sudo layman -L * Failed to update the overlay list from: http://www.gentoo.org/proj/en/overlays/repositories.xml * Error was: * Failed to parse the overlays list fetched from http://www.gentoo.org/proj/en/overlays/repositories.xml * This means that the downloaded file is somehow corrupt or there was a problem with the webserver. Check the content of the file. Error was: * 'module' object has no attribute 'expat' $ eix ^python$ [I] dev-lang/python <...reformatted for better readability...> Installed versions: * 2.7.2-r3(2.7)(09:14:28 01/12/12)(build wide-unicode -berkdb -doc -elibc_uclibc -examples -gdbm -ipv6 -ncurses -readline -sqlite -ssl -threads -tk -wininst -xml) * 3.1.4-r3(3.1)(23:38:22 01/17/12)(gdbm ncurses readline ssl threads wide-unicode xml -build -doc -elibc_uclibc -examples -ipv6 -sqlite -tk -wininst) $ eselect python list Available Python interpreters: [1] python2.7 * [2] python3.1 As you can see 'dev-lang/python[xml]' is satisfied, but not with selected python, so layman fails. Rebuilding python2 with xml of course fixes the problem. Reproducible: Always
In my opinion this is a bug in current stage3, I've reported as bug #399331. It's also affecting first-time installs of mirrorselect, gentoolkit, and probably a few other basic tools requiring dev-lang/python[xml].
Confirming bug with fresh install from stage3-amd64-20120202.tar.bz2 after emerging layman due to missing xml in python-2.7.2-r3.
The python dependency has been properly updated for the 1.4* versions. The 2.0.0_rc's that were not correct have been removed. This error should not occur again. The fix is now in CVS, please allow a few hours for this to reach your local rsync mirror.