From owner-freebsd-ports@FreeBSD.ORG Thu Jul 21 04:42:48 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDEB016A41F for ; Thu, 21 Jul 2005 04:42:48 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57E1B43D46 for ; Thu, 21 Jul 2005 04:42:48 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j6L4glNV018004 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Jul 2005 00:42:47 -0400 Received: from obsecurity.dyndns.org (fields.fields.utoronto.ca [128.100.216.11]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j6L4gl6P014377; Thu, 21 Jul 2005 00:42:47 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D8CFF5119A; Thu, 21 Jul 2005 00:42:46 -0400 (EDT) Date: Thu, 21 Jul 2005 00:42:46 -0400 From: Kris Kennaway To: Chris Haulmark , freebsd-ports@freebsd.org Message-ID: <20050721044246.GR22430@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i0LFOk513GRb+T2w" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: /var/db/pkg deleted..what to do? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 04:42:48 -0000 --i0LFOk513GRb+T2w Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 19, 2005 at 01:52:04PM -0500, Chris Haulmark wrote: > What is the best suggestion to a friend who runs a FreeBSD workstation. >=20 > He tried to delete mysql completely but deleted /var/db instead > of /var/db/mysql >=20 > He has dozens of packages installed from the ports. He mainly uses > gnome2 and several other major applications...it would be a pain to > reinstall everything while he is depending on his memory of what he had > installed in the first place. Unfortunately that's about the only option apart from 'restore from a backup'. You could try to use the pkg_which port to identify files that are unclaimed by installed ports (see the manpage) and then try to figure out which ports they belonged to, as an aid to memory. Kris --i0LFOk513GRb+T2w Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC3yfGWry0BWjoQKURAqHeAJ9HZ72pvRebsxfwGoRymL6kzheO6QCeNUsr K+BPEAk4JbHTgQV4sH7ruQs= =tAjP -----END PGP SIGNATURE----- --i0LFOk513GRb+T2w--