pkgdb error

Andrey Slusar anrays at
Mon Jun 19 23:06:18 UTC 2006

Mon, 19 Jun 2006 18:09:07 -0400, Adam Stroud wrote:

> I am having a problem with pkgdb and I am wondering if someone can
> point me in the right direction.  I was trying to update some of my
> out of date ports with portupgrade and when I get a pkgdb error.  Now
> whenever I try to run any portupgrade command, or even and pkgdb
> command (like pkgdb -Fu) I get the following error message:

> [Rebuilding the pkgdb <format:dbm_hash> in /var/db/pkg ... can't
> convert String into Integer: Cannot update the pkgdb!]

> Anyone have any ideas or links to some information on how to solve this?

I am answered to similar question in this list.
Update you ports tree and reinstall portupgrade.

More information about the freebsd-questions mailing list