Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 2006 16:33:17 +0300
From:      Dominik Zalewski <dzalewski@open-craft.com>
To:        Volker <volker@vwsoft.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Portupgrade failed - /var/db/pkg/pkgdb.db: unexpected file type or	format
Message-ID:  <200607021633.17906.dzalewski@open-craft.com>
In-Reply-To: <44A7CB60.4010102@vwsoft.com>
References:  <200607021408.33744.dzalewski@open-craft.com> <44A7CB60.4010102@vwsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 02 July 2006 16:34, you wrote:
> On 12/23/-58 20:59, Dominik Zalewski 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.
> >
> > in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format
> > --
>
> Dominik,
>
> I've had the same today and thought it has been my mistake (doing a
> pkg_version in parallel).
>
> Just delete /var/db/pkg/pkgdb.db and run `pkgdb -F' and all should
> be fine. At least on my system I was able to rebuild pkgdb.db that
> way and all is working again.
>
> Greetings,
>
> Volker

Thanks. I rebuild my pkgdb.db and it looks everything is fine.

Thank you,

        Dominik Zalewski



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