Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Nov 2006 20:37:44 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Jason Gretz <JGretz@angstman.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Portupgrade cannot upgrade pkgdb.db
Message-ID:  <45524018.5070504@infracaninophile.co.uk>
In-Reply-To: <20061108181005.BF1482E04B@mail.angstman.com>
References:  <20061108181005.BF1482E04B@mail.angstman.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig404CDCD7D921B91F0292C662
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Jason Gretz wrote:
> Hey guys, I got this output when I tried upgrading my ports tree
> (portupgrade --a) :
> =20
> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ...
> /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argumen=
t;
> 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 argumen=
t;
> rebuild needed] [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg=
 ...
> /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argumen=
t:
> Cannot update the pkgdb!]: Cannot update the pkgdb!]
> =20
> =20
> =20
> Any Ideas? Thanks guys!

Yes.  Seems you updated BDB or switched versions to an incombatible one.
Blow away /usr/ports/INDEX-6.db and /var/db/pkg/pkgdb.db and let portupgr=
ade
regenerate them from scratch.  Those files are just summaries of other da=
ta
readily available from your system so they can be removed with impunity.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW


--------------enig404CDCD7D921B91F0292C662
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFUkAY8Mjk52CukIwRCFqJAJ0W2D2yjrGa3ovEDVg22jECEcaLyQCfQGch
IaM5NHKj4AnsPDn0ugB1tqE=
=7+jE
-----END PGP SIGNATURE-----

--------------enig404CDCD7D921B91F0292C662--



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