Trouble building abiword in the Ports Collection
Gerard Seibert
gerard at seibercom.net
Fri Sep 1 13:48:48 PDT 2006
Perry Hutchison wrote:
> # pkgdb -aFfuv
> ---> Updating the pkgdb
> [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!]
>
> > If it fails, you will have to run: pkgdb -F to fix them manually.
>
> That doesn't work either :(
>
> # pkgdb -F
> ---> Checking the package registry database
>
> [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!]
OK, navigate to the /var/db/pkg directory and either delete or rename
the 'pkg.db' file. Then run:
pkgdb -aFfuv
Assuming that works, resume with the rest of the directions I gave you
previously.
--
Gerard Seibert
gerard at seibercom.net
More information about the freebsd-questions
mailing list