Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Sep 2006 16:49:05 -0400
From:      Gerard Seibert <gerard@seibercom.net>
To:        freebsd-questions@freebsd.org
Cc:        perryh@pluto.rain.com
Subject:   Re: Trouble building abiword in the Ports Collection
Message-ID:  <20060901164400.48F3.GERARD@seibercom.net>
In-Reply-To: <10609012001.AA10932@pluto.rain.com>
References:  <20060901143228.60CF.GERARD@seibercom.net> <10609012001.AA10932@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@seibercom.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060901164400.48F3.GERARD>