cannot upgrade

Michael P. Soulier msoulier at digitaltorque.ca
Sun Jul 2 23:10:31 UTC 2006


On 02/07/06 Kent Stewart said:

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

[root at 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

-- 
Michael P. Soulier <msoulier at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060702/1ad57f0a/attachment.pgp


More information about the freebsd-questions mailing list