Subject: Re: corrupted pkg database
To: Jan Schaumann <jschauma@netmeister.org>
From: Lubos Vrbka <shnek@chemi.muni.cz>
List: netbsd-help
Date: 01/07/2003 19:48:20
> > 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.
>
> Due to the broken 'pkg_admin rebuild' you did earlier. Do try another
> 'pkg_admin rebuild' and then see what happens.
ok, seems to work fine now...
i had to manually remove x11-links-0.8. why cannot the make do this
automatically?
it seems that make update in fluxbox works fine...
as i can see, there was some problem with pkg_install? well, i had the
version ~4 months old, so it probably couldn't manage new version. as it
seems to me i should firstly update pkg_install if i get new pkgsrc through
cvs, right?
the update finished now. why
make update
in wm/fluxbox
produces this message?
===> Installing for fluxbox-0.1.14
===> fluxbox-0.1.8 is already installed - perhaps an older version?
*** If so, you may wish to ``pkg_delete fluxbox-0.1.8'' and install
*** this package again by ``make reinstall'' to upgrade it properly,
*** or use ``make update'' to upgrade it and all of its dependencies.
*** If you really wish to overwrite the old package of fluxbox-0.1.8
*** without deleting it first, set the variable "FORCE_PKG_REGISTER"
*** in your environment or the "make install" command line.
*** Error code 1
i had to remove the package
snail# pkg_delete fluxbox-0.1.8
pkg_delete: couldn't entirely delete package `fluxbox-0.1.8'
(perhaps the packing list is incorrectly specified?)
snail# make reinstall
and now it seems to be ok. why doesn't make update remove the old version as
it SHOULD do (it's obviously the same problem as for the x11-links package)?
is there still something wrong?
regards,
lubos
_@_:
-
#################################################
Lubos Vrbka
National Centre for Biomolecular Research
Masaryk university, Brno, Czech Republic
shnek@chemi.muni.cz
http://www.chemi.muni.cz/~shnek
tel. +420 541 129 508
#################################################