Date: Thu, 21 Jul 2005 00:42:46 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Chris Haulmark <chris@sigd.net>, freebsd-ports@freebsd.org Subject: Re: /var/db/pkg deleted..what to do? Message-ID: <20050721044246.GR22430@xor.obsecurity.org>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050721044246.GR22430>