On Fri, 09 Nov 2007 08:06:54 -0500
"J. W. Ballantine" <[EMAIL PROTECTED]> wrote:

> After upgrading from 6-STABLE to 7-RELEASE, I tried to rebuild
> all the packages from portupgrade -af I started getting the following
> error messages.  The first once, the second multiple times, even
> after I moved the pkgdb.db and did a pkgdb -fu.
> 
> [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid
> argument] [Updating the portsdb <format:bdb_btree> in /usr/ports .
> .. - 17746 port entries found /usr/ports/INDEX-7.db: unexpected file
> type or format -- Invalid argument: Cannot update the portsdb!
> (/usr/ports/INDEX-7.db)]
> 
> 
> /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid
> argument
> 
> Any ideas on what is causing this?

I got this as well, after portupgrade tried to register installation of
new ruby version. A pkgdb -F seemed to correct it and i continued on
with portupgrade with no more errors.

Regards,
Matti

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to