From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 12:48: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 70AA616A47C for ; Tue, 20 Jun 2006 12:48:38 +0000 (UTC) (envelope-from todor.dragnev@gmail.com) Received: from mail.sistechnology.com (torro.sistechnology.com [217.79.65.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECF7E43D53 for ; Tue, 20 Jun 2006 12:48:37 +0000 (GMT) (envelope-from todor.dragnev@gmail.com) Received: from localhost (localhost [127.0.0.1]) by mail.sistechnology.com (Postfix) with ESMTP id 12C6946C47; Tue, 20 Jun 2006 15:48:35 +0300 (EEST) Received: from mail.sistechnology.com ([217.79.65.130]) by localhost (torro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07013-10; Tue, 20 Jun 2006 15:48:33 +0300 (EEST) Received: from [192.168.7.3] (tdragnev [192.168.7.3]) by mail.sistechnology.com (Postfix) with ESMTP id 8F0F646C08; Tue, 20 Jun 2006 15:48:33 +0300 (EEST) From: Todor Dragnev To: freebsd-stable@freebsd.org, Elliot Finley Date: Tue, 20 Jun 2006 15:47:15 +0300 User-Agent: KMail/1.7.2 References: <0bcc01c693b0$ba32b3d0$37cba1cd@emerytelcom.com> In-Reply-To: <0bcc01c693b0$ba32b3d0$37cba1cd@emerytelcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606201547.15511.todor.dragnev@gmail.com> X-Virus-Scanned: by the vKeeper at sistechnology.com Cc: Subject: Re: portupgrade failure 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: Tue, 20 Jun 2006 12:48:38 -0000 Hi, I have similar problem and find solution in portupgrade man page: -- Sometimes a database may get corrupt and the pkgtools commands start to abort due to segmentation fault. In such cases, run ``pkgdb -fu'' to rebuild the database, and the problems will go away. If the command failed itself, remove a database file (/var/db/pkg/pkgdb.db) and run it again. -- On Monday 19 June 2006 17:57, Elliot Finley wrote: > After upgrading to the latest portupgrade: > > dns root:~#>portupgrade -v > portupgrade 2.0.1 (2006/06/18) > > I got a failure on 2 out of 4 boxes. Now when I use portversion, > portupgrade, or pkgdb I get: > > backup root:/usr/ports#>portversion > [Updating the pkgdb in /var/db/pkg ... - 34 packages > found (-0 +0) Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ > > Any pointers on how to fix this would be appreciated. > > Thanks > Elliot > > _______________________________________________ > 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"