From owner-freebsd-questions@FreeBSD.ORG Sun Jul 2 21:30:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73B6D16A804 for ; Sun, 2 Jul 2006 21:30:48 +0000 (UTC) (envelope-from edu07643@yahoo.com.br) Received: from web61016.mail.yahoo.com (web61016.mail.yahoo.com [209.73.179.10]) by mx1.FreeBSD.org (Postfix) with SMTP id 65A9543FE3 for ; Sun, 2 Jul 2006 20:57:53 +0000 (GMT) (envelope-from edu07643@yahoo.com.br) Received: (qmail 89102 invoked by uid 60001); 2 Jul 2006 20:57:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HpcZ5ajwTgyUkuAoKyOm5jGP2NYOupL5ZiGOBCusVlfblcLF0cGibW2I5VVxPcPLiZx8t0ObgDBEjFUnk80QQfzDHNYEcQ4OdiERD8OfVzUq+YVlRCZDcYuZUogCC4m7QBoE4AX3tsnXYLPDzUb6o/kpVXiMpkutGxbFuMVcmLQ= ; Message-ID: <20060702205752.89100.qmail@web61016.mail.yahoo.com> Received: from [69.86.22.118] by web61016.mail.yahoo.com via HTTP; Sun, 02 Jul 2006 17:57:52 ART Date: Sun, 2 Jul 2006 17:57:52 -0300 (ART) From: "E. J. Cerejo" To: FreeBSD Questions MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2006 21:30:48 -0000 I'm running FreeBSD 6.1 release and after upgrading portupgrade using portupgrade itself I'm getting this message (message bellow) or similar one everytime I run one of the portupgrade commands like pkgdb -u or -F, portversion -L = or portupgrade itself. Tells me that the database needs to be rebuild, I run portsdb -uU and I get this same error message (message bellow) it rebuilds with portsdb -fuU but still get this same message. Error Message: [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 any clues on how to solve this? Thanks. EJC www.only7bucks.com --------------------------------- Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas!