How to Fix Portage
And all of a sudden I got this on my Gentoo server no matter what I tried to emerge:
# emerge portage
>>> Verifying
>>> Emerging ()
After some fiddling around and searching through Gentoo's Bugzilla I found out that all that was actually needed was this:
# rm /usr/bin/python
# ln -s /usr/bin/python2.5 /usr/bin/python
(If your portage was built with python 2.4 you should link that of course.)