Portage died on me when I ran "emerge sync". Everything seemed to be fine, but at the end I got this error message: ">>> Updating Portage cache... ...done! !!! '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)" I tried rm -Rf /usr/portage/profiles and re-ran emerge sync, but it did not help. If I now try to run emerge sync, I get that error-message immediately. If I delete the profiles, it seems to sync, but it dies in the end (like it did in the first time). Emerging apps does not work either. Reproducible: Always Steps to Reproduce: 1. emerge sync 2. 3. Actual Results: >>> Updating Portage cache... ...done! !!! '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) Expected Results: Finish the sync succesfully "emerge info" does not work, it just displays the forementioned error-message. Programs I had running while running emerge: Konsole (where I ran emerge) Kmail Konqueror KDE Computer-configuration: Athlon64 3200+ 64bit system 1GB RAM Gentoo Linux Gentoo 2.6.7-gentoo-12 kernel gcc version 3.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5)
Same prob here :-/
I have the same issue on an athlon. in /usr/lib/portge/pym/portage.py, the grab_stacked function is failing. For some reason one of the keys in the dirc returned by handler is not a tuple, but a string (in my case 'bitmap-fonts xprint'. I'm still looking into that, but I was able to resolve if by wrapping the offending line in a try: except: pass block try: final_dict[y].insert(0,thing) except: pass
Same problem on x86 - looks like a general portage problem. Maybe the priority should be increased, since it kills portage?
I also experienced the problem. Performed emerge on 09-Sep-2004, 13:11 UTC performed rm -Rf /usr/portage/profiles re-emerge sync message appears after apparently completing sync Subsequent emerge sync immediately generate the error. bash-2.05b# emerge sync !!! '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) bash-2.05b# I am not conversant with Python but am experienced in Linux, so I am able to do diagnostic research, if requested.
I need your profiles and the 'emerge -d' output, if it produces anything. Respond in bug 63400. ls -l /etc/make.profile *** This bug has been marked as a duplicate of 63400 *** *** This bug has been marked as a duplicate of 63400 ***