public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Space Cake <spacecakex@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] portage failed to upgrade
Date: Wed, 31 Aug 2011 16:25:07 +0200	[thread overview]
Message-ID: <4E5E4443.5080905@gmail.com> (raw)
In-Reply-To: <CA+czFiBGf0n4SRgjUSPORSMZNwrEhKnEawE-8DxoNGAD2OC2Zg@mail.gmail.com>

On 2011. aug. 31., szerda, 16.16.54 CEST, Michael Mol wrote:
> On Wed, Aug 31, 2011 at 10:10 AM, Space Cake <spacecakex@gmail.com> wrote:
>> On 2011. aug. 31., szerda, 16.02.15 CEST, Michael Mol wrote:
>>> 2011/8/31 Space Cake <spacecakex@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.)

Yes, etc-update is also routine for me and I'm on stable 

[U] sys-apps/portage
     Available versions:  [M]2.1.6.7 2.1.6.13 2.1.9.42 2.1.10.3 
2.1.10.11 ~*2.2.0_alpha51 **9999 {build doc epydoc +ipc (+)less 
linguas_pl python2 python3 selinux}
     Installed versions:  2.1.10.3(18.02.13 2011-07-18)(ipc less -build 
-doc -epydoc -linguas_pl -python2 -python3 -selinux)
     Homepage:            
http://www.gentoo.org/proj/en/portage/index.xml
     Description:         Portage is the package management and 
distribution sys





  reply	other threads:[~2011-08-31 14:26 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 [this message]
2011-08-31 16:37 ` Pandu Poluan
2011-09-01 11:22   ` Space Cake

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=4E5E4443.5080905@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