From owner-freebsd-stable@FreeBSD.ORG Sun Jul 2 13:39:38 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41FEF16A415 for ; Sun, 2 Jul 2006 13:39:38 +0000 (UTC) (envelope-from dzalewski@open-craft.com) Received: from zeus.lunarpages.com (zeus.lunarpages.com [216.193.211.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C26C544010 for ; Sun, 2 Jul 2006 13:39:25 +0000 (GMT) (envelope-from dzalewski@open-craft.com) Received: from [196.218.200.205] (helo=[10.0.0.189]) by zeus.lunarpages.com with esmtpa (Exim 4.52) id 1Fx2BF-0004P9-Pg; Sun, 02 Jul 2006 06:40:10 -0700 From: Dominik Zalewski Organization: OpenCraft To: Volker Date: Sun, 2 Jul 2006 16:33:17 +0300 User-Agent: KMail/1.9.3 References: <200607021408.33744.dzalewski@open-craft.com> <44A7CB60.4010102@vwsoft.com> In-Reply-To: <44A7CB60.4010102@vwsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607021633.17906.dzalewski@open-craft.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - zeus.lunarpages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - open-craft.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-stable@freebsd.org Subject: Re: Portupgrade failed - /var/db/pkg/pkgdb.db: unexpected file type or format X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2006 13:39:38 -0000 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