Date: Sun, 2 Jul 2006 16:37:37 +0300 From: Dominik Zalewski <dzalewski@open-craft.com> To: freebsd-stable@freebsd.org Subject: Re: Portupgrade failed - /var/db/pkg/pkgdb.db: unexpected file type or format Message-ID: <200607021637.37741.dzalewski@open-craft.com> In-Reply-To: <79722fad0607020635i53ffc6clca3e9cf7b50fe101@mail.gmail.com> References: <200607021408.33744.dzalewski@open-craft.com> <79722fad0607020635i53ffc6clca3e9cf7b50fe101@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 02 July 2006 16:35, Vlad GALU wrote: > On 7/2/06, Dominik Zalewski <dzalewski@open-craft.com> wrote: > > I'm using FreeBSD 6.1-stable . Today I updated my ports tree using cvsup > > and then I ran as usually portupgrade -a . It upgraded my portupgrade to > > version portupgrade-2.1.3.2,2. After that portupgrade stopped working. > > > > Here is an error message: > > > > [root@silicon /]# portupgrade -a > > [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 > > Removing pkgdb.db and INDEX-6.db and then rebuilding them with > pkgdb and portsdb did the trick for me. > > > Any ideas? > > > > Thank you in advance, > > > > Dominik Zalewski > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" Thanks man, alreadt fixed :) Regards, Dominik Zalewski
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607021637.37741.dzalewski>