Re: [gentoo-user] emerge hosed .. vartree instance has no attribute 'invalidentry'
For the impatient, running /usr/lib/portage/bin/fix-db.py, and then (if necessary) delete the lock files it reports. fix-db.py doesn't report lockfiles .. it does report about a million messages like this, though: ERROR: COUNTER file missing from 'x11-plugins/wmsysmon-0.7.6'. ERROR: COUNTER file missing from 'x11-plugins/wmCalClock-1.25'. ERROR: SLOT file is empty for 'sys-kernel/linux-headers-2.4.18'. RE-MERGE this exact package version or unmerge and remerge it. ERROR: COUNTER file missing from 'sys-kernel/linux-sources-2.4.17'. ERROR: SLOT file is empty for 'sys-kernel/gentoo-sources-2.4.19-r3'. RE-MERGE this exact package version or unmerge and remerge it. ERROR: COUNTER file missing from 'dev-tex/latex2html-2000.1b'. ERROR: COUNTER file missing from 'x11-base/xfree-4.2.0'. [...] net-nds/openldap-2.0.21: (damaged/invalid) [] COUNTER is missing x11-wm/gnustep-env-0.1: (old package) [] SLOT is empty net-misc/dhcpcd-1.3.20_p0-r1: (old package) [] SLOT is empty I have no idea how portage on this box got into such a state .. we haven't been keeping it up-to-the-minute, but did rsync and emerge portage every month or so .. I don't have any lockfiles in /var: blommie i18n # find /var/db/pkg/ -name *lockfile* blommie i18n # so the advice in the referenced bug doesn't get me into the clear. -- Jean Jordaan http://www.upfrontsystems.co.za -- [EMAIL PROTECTED] mailing list
[gentoo-user] emerge hosed .. vartree instance has no attribute 'invalidentry'
Hi all Does anyone have any idea what's going wrong here? blommie todos # emerge --pretend ncftp These are the packages that I would merge, in order: Calculating dependencies ...done! !!! Invalid db entry: /var/db/pkg/net-ftp/ncftpTraceback (most recent call last): File /usr/bin/emerge, line 2133, in ? mydepgraph.display(mydepgraph.altlist()) File /usr/bin/emerge, line 1103, in display elif (not --emptytree in myopts) and portage.db[x[1]][vartree].exists_specific_cat(x[2]): File /usr/lib/python2.2/site-packages/portage.py, line 3469, in exists_specific_cat self.invalidentry(self.root+var/db/pkg/+a[0]+/+x) AttributeError: vartree instance has no attribute 'invalidentry' blommie todos # emerge --version !!! Invalid db entry: /var/db/pkg/net-ftp/ncftp!!! Invalid db entry: /var/db/pkg/net-misc/tightvnc!!! Using `which gcc` to gcc locate version, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.49-r15 (default-1.0, gcc-2.95.3, glibc-2.2.4-r0,2.2.5-r2, 2.4.19-gentoo-r9) -- Jean Jordaan http://www.upfrontsystems.co.za -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] emerge hosed .. vartree instance has no attribute 'invalidentry'
On Tue, Nov 11, 2003 at 02:34:24PM +0200, Jean Jordaan wrote: Hi all Does anyone have any idea what's going wrong here? blommie todos # emerge --pretend ncftp These are the packages that I would merge, in order: Calculating dependencies ...done! !!! Invalid db entry: /var/db/pkg/net-ftp/ncftpTraceback (most recent call last): File /usr/bin/emerge, line 2133, in ? mydepgraph.display(mydepgraph.altlist()) File /usr/bin/emerge, line 1103, in display elif (not --emptytree in myopts) and portage.db[x[1]][vartree].exists_specific_cat(x[2]): File /usr/lib/python2.2/site-packages/portage.py, line 3469, in exists_specific_cat self.invalidentry(self.root+var/db/pkg/+a[0]+/+x) AttributeError: vartree instance has no attribute 'invalidentry' blommie todos # emerge --version !!! Invalid db entry: /var/db/pkg/net-ftp/ncftp!!! Invalid db entry: /var/db/pkg/net-misc/tightvnc!!! Using `which gcc` to gcc locate version, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.49-r15 (default-1.0, gcc-2.95.3, glibc-2.2.4-r0,2.2.5-r2, 2.4.19-gentoo-r9) I ran into this a couple of weeks ago. It's a known bug, for full details see: http://bugs.gentoo.org/show_bug.cgi?id=31901 For the impatient, running /usr/lib/portage/bin/fix-db.py, and then (if necessary) delete the lock files it reports. - PK -- Jean Jordaan http://www.upfrontsystems.co.za -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list