srg / # emerge -pv kde !!! 'str' object has no attribute 'insert' !!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does !!! not then please report this to bugs.gentoo.org and, if possible, a dev !!! on #gentoo (irc.freenode.org) Reproducible: Always Steps to Reproduce: 1.emerge sync 2.rm /etc/make.profile 3.ln -s ../usr/portage/profiles/default-linux/x86/2004.3 make.profile 4.rm -Rf /usr/portage/profiles 5.emerge sync ...
# emerge -n '>=sys-apps/portage-2.0.51' # cd /etc/ # rm make.profile # ln -s ../usr/portage/profiles/default-linux/x86/2004.0 make.profile The message would have been something like the above. You skipped the most important step, which was to upgrade portage first. You will have to relink your profile to what it was originally (or pretty much any profile that is for your architecture in the root of the profiles directory) and then upgrade portage before upgrading your profile again. (BTW, searching for "str insert" gave me 9 copies of this bug) *** This bug has been marked as a duplicate of 63400 ***