Subject: Re: corrupted pkg database
To: None <netbsd-help@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: netbsd-help
Date: 01/07/2003 13:34:53
Lubos Vrbka <shnek@chemi.muni.cz> wrote:
> > cd /usr/pkgsrc/pkgtools/pkg_install
> > cvs update -dP
> > make install
> >
> > and try again?
> >
> > (Make sure you get rev 1.3 of pkg_install/files/admin/main.c)
>
> /* $NetBSD: main.c,v 1.4 2003/01/07 16:43:56 jschauma Exp $ */
> this is rev 1.4, right? i got this from the cvs update just now... dont'
> know how to get rev 1.3 file...
1.4 is fine, since it's newer.
> what's bad? btw what's the file /var/db/pkg/pkgdb.byfile.db good for?
It contains the info for your installed packages, ie which files belong
to which package etc.
> it
> currently has zero size :o(
Due to the broken 'pkg_admin rebuild' you did earlier. Do try another
'pkg_admin rebuild' and then see what happens.
-Jan
--
I always said there was something fundamentally wrong with the universe.