On 2011. aug. 31., szerda, 18.37.11 CEST, Pandu Poluan wrote: > (Sorry for top-posting; Gmail java mobile client sucks) > > gid 0 should be the 'root' gid. Try 'grep -E "root|wheel" /etc/groups' > and see if there is/are groups called 'root' or 'wheel' with gid==0 > > Also a question: Are you using sudo? > > Rgds, > > > On 2011-08-31, Space Cake <spaceca...@gmail.com> wrote: >> 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 >> >> Thank you >> Laszlo >> >> >>
Seems my gid is not 0 either for root or wheel... I don't know why, I don't remember if I changed it :) So, I've changed the gid and also the group for the files assigned to the grp 1033, so hopefully portage can upgrade this way :) Thanks for the help Laszlo