5 msgDVD and iso9660:1999
7 msghald is stuck
8 msgupgrade kernel
2 msgOverlays does not have a profiles/repo_name entry
33 msgbuilding a machine for Gentoo
5 msgUSB modem locks weirdly
4 msgStatic addresses and timeouts
3 msgCamcorder capture
3 msgQT4 programming setup
5 msgportage-2.1.3_rc6 doesn't compile
6 msgOOo-2.2.1 fails to emerge
2 msgMacBook Pro - unknown ethernet device (11ab:436a)
2 msg[OT samba] Preferred Master Browser
8 msgKmail issues/questions
13 msglive cd, ip fail

Portage curruptness problem
\ Alex Schuster (6 Jul 2007)
. \ Zac Medico (7 Jul 2007)
. . \ Alex Schuster (7 Jul 2007)

11 msgUpdating menu in KDE
12 msgA Good player for streaming audio
5 msgIs webmin a good thing?
2 msgOT - Can't send mail from non-root accoutns
Subject:Re: Portage curruptness problem
Group:Gentoo-user
From:Alex Schuster
Date:7 Jul 2007


 
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 mailing list



© 2004-2008 readlist.com