From owner-freebsd-questions@FreeBSD.ORG Thu Jul 27 15:32:08 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 0D2BE16A4DE for ; Thu, 27 Jul 2006 15:32:08 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from stargate.alaskaparadise.com (114-103-74-65.gci.net [65.74.103.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0478A43D86 for ; Thu, 27 Jul 2006 15:31:57 +0000 (GMT) (envelope-from beech@alaskaparadise.com) Received: by stargate.alaskaparadise.com (Postfix, from userid 0) id 643B6416C; Thu, 27 Jul 2006 07:31:56 -0800 (AKDT) From: Beech Rintoul Organization: Alaska Paradise To: freebsd-questions@freebsd.org Date: Thu, 27 Jul 2006 07:31:34 -0800 User-Agent: KMail/1.9.3 References: <20060727080525.e72c8bd2fa3c8298c4bf39a8c4c61b77.8b5f7bec2e.wbe@email.secureserver.net> In-Reply-To: <20060727080525.e72c8bd2fa3c8298c4bf39a8c4c61b77.8b5f7bec2e.wbe@email.secureserver.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart16990669.fYD2rNNbR3"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200607270731.54819.beech@alaskaparadise.com> Cc: Joshua Lewis Subject: Re: Corrupt pkgdb 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: Thu, 27 Jul 2006 15:32:08 -0000 --nextPart16990669.fYD2rNNbR3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 27 July 2006 07:05, Joshua Lewis wrote: > I am setting up a new system and ran a portupgrade -a. Unfortunately I > also in my arrogance tried to run XDM while the portupgrade was > running. Well to make a long story short I could not exit out of XDM > and get back to my console and had to reboot the system. Now I get an > error that my pkgdb is corrupt when I try to rerun the portupgrade. > > > > Is there a way to rebuild that DB or do I have to reinstall the whole > OS? I don't know how that pkgdb gets created so I don't know if it is > created during the install or when I installed portupgrade. > > > > Any advice is welcome. Thanks. > Sincerely, > Joshua Lewis Just rm or mv /var/db/pkg/pkgdb.db and it will be rebuilt the next time you= =20 run portupgrade. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart16990669.fYD2rNNbR3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQBEyNxqp5D0B1NlT4URAooEAJ4mo1EBeROHpsdp2NpEimAhbxFTSwCfVfEw WRYNvWg+AqkIC7hoj2WtQ5c= =jWXP -----END PGP SIGNATURE----- --nextPart16990669.fYD2rNNbR3--