Problem with portupgrade

Josh Carroll josh.carroll at
Fri Apr 6 20:08:03 UTC 2007

> deimos# portupgrade -PR libmpeg2
> [Updating the portsdb >format:bdb_btree> in /usr/ports ... - 16851
> port entries found
> {lines cut} ..... done]
> [missing key: categories: Cannot read the portsdb!
> database file error
> {following some ruby errors regarding the fact that the db can't be
> read?!}

Try removing (or moving so you have a backup) your
/var/db/pkg/pkgdb.db file, then running pkgdb -u to update/create it.


More information about the freebsd-questions mailing list