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



Reply via email to