Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 2006 19:09:11 -0400
From:      "Michael P. Soulier" <msoulier@digitaltorque.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: cannot upgrade
Message-ID:  <20060702230911.GE12262@tigger.digitaltorque.ca>
In-Reply-To: <200607021450.10112.kstewart@owt.com>
References:  <20060702183123.GC12262@tigger.digitaltorque.ca> <20060702183358.GD12262@tigger.digitaltorque.ca> <80f4f2b20607021423h3de5f063raf7ea0f2843c3399@mail.gmail.com> <200607021450.10112.kstewart@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--+ts6NCQ4mrNQIV8p
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 02/07/06 Kent Stewart said:

> You "pkgdb -fu" and it recreates the database. You will also probably=20
> find that you need to recreate your INDEX[-*].db. After that,=20
> everything works just fine. All I did is run pkg-version and it rebuilt=
=20
> the INDEX.db.

[root@espresso ~]# pkgdb -fu
--->  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!]

I guess I'll have to delete the existing one.

Mike

--=20
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein

--+ts6NCQ4mrNQIV8p
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEqFIXKGqCc1vIvggRAhJbAJ9fvpLorOTKw8DiOFItWb9M89N3IACfRObd
yjocbzaDj87hhDPBaxKYRaU=
=Wcl2
-----END PGP SIGNATURE-----

--+ts6NCQ4mrNQIV8p--



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