On Wed, Aug 31, 2011 at 10:10 AM, Space Cake <spaceca...@gmail.com> wrote: > On 2011. aug. 31., szerda, 16.02.15 CEST, Michael Mol wrote: >> 2011/8/31 Space Cake <spaceca...@gmail.com>: >>> Hi, >>> >>> For a few days my routine upgrades failing at portage with the following >>> message. Do you have any idea what does it means? >>> >>> File >>> "/var/tmp/portage/sys-apps/portage-2.1.10.11/image/usr/lib/portage/pym/portage/tests/runTests", >>> line 21, in <module> >>> os.environ["PORTAGE_GRPNAME"] = grp.getgrgid(os.getgid()).gr_name >>> KeyError: 'getgrgid(): gid not found: 0' >>> >>> I've tried to google this, but nothing has found >> >> A new portage went stable a few days ago. You might try explicitly >> upgrading portage, and then continuing. > > Yes, this is what I've tried, but it is failed with the message above
By the error, it looks like the code expected to be run as gid 0, but wasn't. I assume you ran etc-update? What about a downgrade? Could you downgrade portage to the last stable version (not sure what that is), and then upgrade it again? (I'd wait for someone else to chime in before you do this. It may be a riskier move than is obvious. I'm not sure.) -- :wq