1 |
On Friday 26 November 2004 17:45, Alexander Leonov wrote: |
2 |
> !!! 'str' object has no attribute 'insert' |
3 |
> !!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does |
4 |
> !!! not then please report this to bugs.gentoo.org and, if possible, a dev |
5 |
> !!! on #gentoo (irc.freenode.org) |
6 |
|
7 |
http://bugs.gentoo.org/show_bug.cgi?id=63400 |
8 |
|
9 |
Essentially, to fix this, you'll need to: |
10 |
|
11 |
# ARCH="$(portageq envvar ARCH)" |
12 |
# echo ARCH=\"$ARCH\" >> /etc/make.conf |
13 |
# echo ACCEPT_KEYWORDS=\"$ARCH\" >> /etc/make.conf |
14 |
# OLDLINK="$(readlink -f /etc/make.profile)" |
15 |
# rm /etc/make.profile |
16 |
# emerge >=sys-apps/portage-2.0.51 |
17 |
# ln -s $OLDLINK /etc/make.profile |
18 |
|
19 |
You should then remove ARCH and fix ACCEPT_KEYWORDS in make.conf. The solution |
20 |
would normally be to relink /etc/make.profile to a flat profile, but it seems |
21 |
that the flat selinux profile has been removed entirely. |
22 |
|
23 |
Regards, |
24 |
Jason Stubbs |
25 |
|
26 |
-- |
27 |
gentoo-hardened@g.o mailing list |