From owner-freebsd-questions@FreeBSD.ORG Sun Jul 2 23:10:31 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 3651A16A49E for ; Sun, 2 Jul 2006 23:10:31 +0000 (UTC) (envelope-from msoulier@digitaltorque.ca) Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9217B43DBB for ; Sun, 2 Jul 2006 23:09:19 +0000 (GMT) (envelope-from msoulier@digitaltorque.ca) Received: from tigger.digitaltorque.ca (hs-216-106-102-70.storm.ca [216.106.102.70]) by mail.storm.ca (8.13.6+Sun/8.13.6) with ESMTP id k62N9IGZ019017 for ; Sun, 2 Jul 2006 19:09:18 -0400 (EDT) Received: by tigger.digitaltorque.ca (Postfix, from userid 500) id A351F240A4; Sun, 2 Jul 2006 19:09:12 -0400 (EDT) Date: Sun, 2 Jul 2006 19:09:11 -0400 From: "Michael P. Soulier" To: freebsd-questions@freebsd.org Message-ID: <20060702230911.GE12262@tigger.digitaltorque.ca> Mail-Followup-To: freebsd-questions@freebsd.org References: <20060702183123.GC12262@tigger.digitaltorque.ca> <20060702183358.GD12262@tigger.digitaltorque.ca> <80f4f2b20607021423h3de5f063raf7ea0f2843c3399@mail.gmail.com> <200607021450.10112.kstewart@owt.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+ts6NCQ4mrNQIV8p" Content-Disposition: inline In-Reply-To: <200607021450.10112.kstewart@owt.com> User-Agent: Mutt/1.4.2.1i Subject: Re: cannot upgrade 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 23:10:31 -0000 --+ts6NCQ4mrNQIV8p Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 02/07/06 Kent Stewart said: > You "pkgdb -fu" and it recreates the database. You will also probably=20 > find that you need to recreate your INDEX[-*].db. After that,=20 > everything works just fine. All I did is run pkg-version and it rebuilt= =20 > the INDEX.db. [root@espresso ~]# pkgdb -fu ---> Updating the pkgdb [Rebuilding the pkgdb in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!] I guess I'll have to delete the existing one. Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein --+ts6NCQ4mrNQIV8p Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFEqFIXKGqCc1vIvggRAhJbAJ9fvpLorOTKw8DiOFItWb9M89N3IACfRObd yjocbzaDj87hhDPBaxKYRaU= =Wcl2 -----END PGP SIGNATURE----- --+ts6NCQ4mrNQIV8p--