Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72980 - emerge doesn't work - `str` has no attribute `insert`
Summary: emerge doesn't work - `str` has no attribute `insert`
Status: RESOLVED DUPLICATE of bug 63400
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-30 17:25 UTC by Ari Elias-Bachrach
Modified: 2005-07-17 13:06 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 Ari Elias-Bachrach 2004-11-30 17:25:37 UTC
Whenevr I try to emerge anything, I get the following error:

cerberus root # emerge portage
!!! '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)

emerge sync gives the same error message however it then works properly. 

I have tried the above advice several times to no avail. I have also deleted and recreated the link from /etc/make.profile -> /usr/portage/profiles/default-linux/x86/2004.0

(I also tried making the link point to 2004.1 and 2004.3, also to no avail).

This machine was working fine until a short time ago, when I was doing some routine maintenance (updating packages mostly). According to emerge.log, the most recent packages I installed were: net-tools-1.60-r9, expat-1.95.7, python-2.3.4, and shadow-4.0.4.1-r4. (All done on Oct 19).

Reproducible: Always
Steps to Reproduce:
1. I attempt to do an emerge on anything other than "emerge sync"

Actual Results:  
cerberus root # emerge portage
!!! '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:  
the normal emerge output

can't do emerge info.

the machine is an IDS machine running snort, apache, mysql, and acid (a web
based front end for the IDS alerts).
Comment 1 Martin DiViaio 2004-11-30 21:20:35 UTC
I am seeing the same problem when trying to do an install from stage1-x86-selinux-pie-ssp-2004.2.tar.gz. 'emerge sync' works but the /usr/portage/scripts/bootstrap.sh just repeats this error several times and does not install (or download) any packages.

Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2004-12-01 15:19:59 UTC

*** This bug has been marked as a duplicate of 63400 ***