Date: Thu, 19 May 2005 14:37:37 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Victor Mel'nichenko <w_@bigmir.net> Cc: freebsd-questions@freebsd.org Subject: Re: /var/db/pkgrestore Message-ID: <20050519213737.GA14222@xor.obsecurity.org> In-Reply-To: <20050519203935.360BEF6E7@pechkin.sputnikmedia.net> References: <20050519203935.360BEF6E7@pechkin.sputnikmedia.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 19, 2005 at 11:39:35PM +0300, Victor Mel'nichenko wrote: > hi, ALL! > I have some problem with /var/db/pkg. > I just remove this directory and i don't know how to restore it with all bases of my installed packages and it current versions. I don't do some backup of my system and any other bases... Just remove this dir(/var/db/pkg). > Please, help. FreeBSD 5.4-p1 Sorry, you have to reinstall all the ports by hand. You can use pkg_which (part of portupgrade) to identify files that are not registered by any package in /var/db/pkg, and then try to work out which package installed them. Obviously, you should look into regularly backing up your system once you get it back together. Kris --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCjQcgWry0BWjoQKURAo28AJ4sMmdTK8ooFUTSb+v/mGfh8bYgXgCcC3cv /n12fufDT584Pb/2H+GqJgk= =XuiL -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050519213737.GA14222>