Problem with pkgdb
freebsd.ph at gmail.com
Tue Jul 4 16:19:44 UTC 2006
On 7/4/06, bsd <bsd at todoo.biz> wrote:
> I have a problem with pkgdb that I am not able to solve on my own.
> root:newmail 10:26 /usr/ports/sysutils/portupgrade # pkgdb -fu
> ---> Updating the pkgdb
> [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ...
> uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]
> So far I have tried to reinstall couple of ports (portupgrade), but
> that didn't solve anything.
> Thanks for your support.
> P.S . A solution was to use portmanager but I think I still need pkgdb
> - is that correct ??
> i had a similar problem regarding portupgrade, it corrupted the pkgdb,
what i did was rename pkgdb.db to pkgdb.orig then run:
# pkgdb -fu
and everything went normal again
More information about the freebsd-questions