Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 2006 17:57:52 -0300 (ART)
From:      "E. J. Cerejo" <edu07643@yahoo.com.br>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Portupgrade
Message-ID:  <20060702205752.89100.qmail@web61016.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
I'm running FreeBSD 6.1 release and after upgrading portupgrade using portupgrade itself I'm getting this message (message bellow) or similar one everytime I run one of the portupgrade commands like pkgdb -u or -F, portversion -L = or portupgrade itself.  Tells me that the database needs to be rebuild, I run portsdb -uU and I get this same error message (message bellow) it rebuilds with portsdb -fuU but still get this same message.

Error Message:

[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 ... [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!]
Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ

any clues on how to solve this?

Thanks.


EJC
www.only7bucks.com
 		
---------------------------------
 Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas!



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