From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1I79mF-0006fK-KE for garchives@archives.gentoo.org; Sat, 07 Jul 2007 12:52:44 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l67CpVmM029251; Sat, 7 Jul 2007 12:51:31 GMT Received: from mail.askja.de (mail.askja.de [83.137.103.136]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l67Chsb5019353 for ; Sat, 7 Jul 2007 12:43:54 GMT Received: from xdsl-195-14-207-220.netcologne.de ([195.14.207.220] helo=zone.wonkology.org) by mail.askja.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.67) (envelope-from ) id 1I79di-0002oj-3c for gentoo-user@lists.gentoo.org; Sat, 07 Jul 2007 14:43:54 +0200 Received: from weird.wonkology.org (weird.wonkology.org [::ffff:192.168.1.4]) by zone.wonkology.org with esmtp; Sat, 07 Jul 2007 14:43:44 +0200 id 0003029A.468F8A80.00007AF8 From: Alex Schuster Organization: Wonkology To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Portage curruptness problem Date: Sat, 7 Jul 2007 14:43:42 +0200 User-Agent: KMail/1.9.5 References: <200707070135.36013.wonko@wonkology.org> <468EDD98.5060607@gentoo.org> In-Reply-To: <468EDD98.5060607@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707071443.42863.wonko@wonkology.org> X-Archives-Salt: f8c3ea05-c94d-4982-8515-19809e417a79 X-Archives-Hash: e1e6a0311ebf9306facc5c158683a19a Zac Medico writes: > Alex Schuster wrote: > >>>> Unmerging app-misc/mc-4.5.55-r5... > > > > Traceback (most recent call last): > > File "/usr/bin/emerge", line 5547, in ? > > retval = emerge_main() > > File "/usr/bin/emerge", line 5528, in emerge_main > > mtimedb["ldpath"]): > > File "/usr/bin/emerge", line 3608, in unmerge > > vartree=vartree, ldpath_mtimes=ldpath_mtimes) > > File "/usr/lib/portage/pym/portage.py", line 3991, in unmerge > > ldpath_mtimes=ldpath_mtimes) > > File "/usr/lib/portage/pym/portage.py", line 6979, in unmerge > > self.settings, 0, 0, self.vartree.dbapi) > > File "/usr/lib/portage/pym/portage.py", line 3013, in > > doebuild_environment mysettings.setcpv(mycpv, use_cache=use_cache, > > mydb=mydbapi) File "/usr/lib/portage/pym/portage.py", line 1683, in > > setcpv slot, iuse = mydb.aux_get(self.mycpv, ["SLOT", "IUSE"]) > > File "/usr/lib/portage/pym/portage.py", line 5353, in aux_get > > raise KeyError(mycpv) > > KeyError: 'gnome-extra/mc-4.5.55-r5' > Apparently an old version of portage didn't update all of the > metadata properly when it performed the package moves. This should > correct it: > > echo app-misc > /var/db/pkg/app-misc/mc-4.5.55-r5/CATEGORY > touch /var/db/pkg/app-misc/mc-4.5.55-r5 > echo net-firewall > /var/db/pkg/net-firewall/iptables-1.2.7a-r3/CATEGORY > touch /var/db/pkg/net-firewall/iptables-1.2.7a-r3 Wow! Your magic helped indeed. Thanks, Zac Alex -- gentoo-user@gentoo.org mailing list