Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] emerge: superuser access is required
Date: Sat, 29 Aug 2009 03:06:17
Message-Id: 20090829081618.GR6839@gentoo.org
In Reply to: Re: [gentoo-alt] emerge: superuser access is required by Daniel Vergien
1 On 29-08-2009 10:13:31 +0200, Daniel Vergien wrote:
2 > On 08/27/09 11:18 AM, Fabian Groffen wrote:
3 >
4 > > to recover from this, simply do this:
5 > >
6 > > - edit $EPREFIX/etc/make.globals
7 > > ensure PORTAGE_ROOT_USER is set to the correct value
8 >
9 > also PORTAGE_INST_UID and PORTAGE_INST_GID need to be corrected.
10 >
11 >
12 > > - edit $EPREFIX/usr/lib/portage/pym/portage/const_autotool.py
13 > > check and fix the values of portagegroup, portageuser, rootuser,
14 > > rootuid and rootgid
15 > >
16 > > after that your portage should be willing to operate again
17 >
18 > now it does
19
20 thanks
21
22
23 --
24 Fabian Groffen
25 Gentoo on a different level