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

next in thread | previous in thread | raw e-mail | index | archive | help
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




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