From owner-freebsd-questions@FreeBSD.ORG Mon Jun 6 22:32:08 2005 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 5E24E16A41C for ; Mon, 6 Jun 2005 22:32:08 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C0E443D49 for ; Mon, 6 Jun 2005 22:32:08 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 10F88512B6; Mon, 6 Jun 2005 18:32:07 -0400 (EDT) Date: Mon, 6 Jun 2005 18:32:06 -0400 From: Kris Kennaway To: Vizion Message-ID: <20050606223206.GA84164@xor.obsecurity.org> References: <200506061414.16870.vizion@vizion.occoxmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: <200506061414.16870.vizion@vizion.occoxmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: pkgdb problem 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: Mon, 06 Jun 2005 22:32:08 -0000 --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 06, 2005 at 02:14:16PM -0700, Vizion wrote: > Hi >=20 > I managed to get my pkgdb entirely screwed up - and there is now no data= base. >=20 > I tried pkgdb -fu > And was told there were 0 pkgs! >=20 > How do I rebuild from scratch? If you accidentally delete your /var/db/pkg directory then the only way to recover it is to restore from backup. Kris --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCpM7mWry0BWjoQKURAnOqAJ4/dNI3OYHn1qyXbC/X5so1pCETxwCgwRL3 d+CBC2Of2PHJ9FevDiwaaio= =f+SI -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--