Portupgrade failed - /var/db/pkg/pkgdb.db: unexpected file type or
format
Dominik Zalewski
dzalewski at open-craft.com
Sun Jul 2 11:47:15 UTC 2006
I'm using FreeBSD 6.1-stable . Today I updated my ports tree using cvsup and
then I ran as usually portupgrade -a . It upgraded my portupgrade to version
portupgrade-2.1.3.2,2. After that portupgrade stopped working.
Here is an error message:
[root at silicon /]# portupgrade -a
[Updating the pkgdb <format:bdb_btree>
in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format --
Invalid argument; rebuild needed] [Rebuilding the pkgdb <format:bdb_btree>
in /var/db/pkg ... [Updating the pkgdb <format:bdb_btree>
in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format --
Invalid argument; rebuild needed] [Rebuilding the pkgdb <format:bdb_btree>
in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format --
Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!]
Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ
Any ideas?
Thank you in advance,
Dominik Zalewski
More information about the freebsd-stable
mailing list