From owner-freebsd-stable@FreeBSD.ORG Sun Jul 2 13:43:42 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 3C33516A403 for ; Sun, 2 Jul 2006 13:43:42 +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 AE6C34400B for ; Sun, 2 Jul 2006 13:43:41 +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 1Fx2FR-00057G-9X for freebsd-stable@freebsd.org; Sun, 02 Jul 2006 06:44:29 -0700 From: Dominik Zalewski Organization: OpenCraft To: freebsd-stable@freebsd.org Date: Sun, 2 Jul 2006 16:37:37 +0300 User-Agent: KMail/1.9.3 References: <200607021408.33744.dzalewski@open-craft.com> <79722fad0607020635i53ffc6clca3e9cf7b50fe101@mail.gmail.com> In-Reply-To: <79722fad0607020635i53ffc6clca3e9cf7b50fe101@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607021637.37741.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: 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:43:42 -0000 On Sunday 02 July 2006 16:35, Vlad GALU wrote: > On 7/2/06, 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. > > > > Here is an error message: > > > > [root@silicon /]# portupgrade -a > > [Updating the pkgdb > > in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format > > -- Invalid argument; rebuild needed] [Rebuilding the pkgdb > > in /var/db/pkg ... [Updating the pkgdb > > > > in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format > > -- Invalid argument; rebuild needed] [Rebuilding the pkgdb > > 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