From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QylkB-0006r0-0s for garchives@archives.gentoo.org; Wed, 31 Aug 2011 14:26:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D13F21C28A; Wed, 31 Aug 2011 14:26:10 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id B33C121C087 for ; Wed, 31 Aug 2011 14:25:10 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so1110339bkb.40 for ; Wed, 31 Aug 2011 07:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=7fEpLK0gd9z0xBgi95itHnNqdkw8GXiY3ZNT83kZpuw=; b=vDFMFFVUWImYgmS3OZUvXE3zdNnVxnfLekJ0Ce7XbATEJQ2b2gLPinwMjmncyz54wm AOiMKhIjr8apQvENW1VsUW9NGq4H2FSKq1QarMHnrZcU54Y925hoqoH1h/dnOFPUy2ou TIi7XtnumXp3znxiJNY6hWv4A6FWSQytW4D6w= Received: by 10.204.132.23 with SMTP id z23mr273042bks.383.1314800709853; Wed, 31 Aug 2011 07:25:09 -0700 (PDT) Received: from brutal.emea.cpqcorp.net (business-80-99-239-77.business.broadband.hu [80.99.239.77]) by mx.google.com with ESMTPS id v1sm397089bkd.22.2011.08.31.07.25.08 (version=SSLv3 cipher=OTHER); Wed, 31 Aug 2011 07:25:09 -0700 (PDT) Message-ID: <4E5E4443.5080905@gmail.com> Date: Wed, 31 Aug 2011 16:25:07 +0200 From: Space Cake User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20110824 Thunderbird/6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] portage failed to upgrade References: <4E5E3D98.5010307@gmail.com> <4E5E40D3.9030302@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 09879d3e45ea6fa47787afade7f77f00 On 2011. aug. 31., szerda, 16.16.54 CEST, Michael Mol wrote: > On Wed, Aug 31, 2011 at 10:10 AM, Space Cake wrote: >> On 2011. aug. 31., szerda, 16.02.15 CEST, Michael Mol wrote: >>> 2011/8/31 Space Cake : >>>> 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 >>>> 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