From: Space Cake <spacecakex@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] portage failed to upgrade
Date: Thu, 01 Sep 2011 13:22:35 +0200 [thread overview]
Message-ID: <4E5F6AFB.6010508@gmail.com> (raw)
In-Reply-To: <CAA2qdGX06Li_4kfTvCuwqo7fW-+8hhXmgY7X_kgDQoLeQgnTgA@mail.gmail.com>
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 <spacecakex@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
prev parent reply other threads:[~2011-09-01 11:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-31 13:56 [gentoo-user] portage failed to upgrade Space Cake
2011-08-31 14:02 ` Michael Mol
2011-08-31 14:10 ` Space Cake
2011-08-31 14:16 ` Michael Mol
2011-08-31 14:25 ` Space Cake
2011-08-31 16:37 ` Pandu Poluan
2011-09-01 11:22 ` Space Cake [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E5F6AFB.6010508@gmail.com \
--to=spacecakex@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox