tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkgdb corruption (was: Re: osabi in -current in some difficulty?)
Greg Troxel <gdt%lexort.com@localhost> wrote:
> In this case, you have a corrupt database. I have some notes about
> this to dig through about why this happens.
Lately it has been happening to me somewhere on nearly every build
run.
Checking the package databases on a couple machines shows multiple
examples, e.g.:
% pkg_info -R vim-share
Information for vim-share-8.1.0551:
Required by:
vim-8.1.0390
vim-8.1.0551
and
% pkg_info -R boost-libs
Information for boost-libs-1.68.0:
Required by:
libcdr-0.1.4nb6
libcdr-0.1.4nb6
gource-0.40nb13
gource-0.40nb13
source-highlight-3.1.8nb7
source-highlight-3.1.8nb7
libvisio-0.1.6nb7
libvisio-0.1.6nb7
librevenge-0.0.4nb7
librevenge-0.0.4nb7
It does not happen on every build, but it happens a lot, and when it
happens it's always a matter of leaving behind the entry for the prior
copy of the depending package, whether or not it's the same version.
handy check script:
(cd /var/db/pkg && grep . */+REQUIRED_BY | sed 's,^\([^/]*\)-[^-/]*/+[^:]*:\(.*\)-[^-]*$,\1 \2,' | sort | uniq -dc)
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index