From owner-freebsd-questions@FreeBSD.ORG Thu May 19 21:37:39 2005 Return-Path: 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 E40C216A4CE for ; Thu, 19 May 2005 21:37:39 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FC8A43D7D for ; Thu, 19 May 2005 21:37:38 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4F6BB513C0; Thu, 19 May 2005 14:37:37 -0700 (PDT) Date: Thu, 19 May 2005 14:37:37 -0700 From: Kris Kennaway To: Victor Mel'nichenko Message-ID: <20050519213737.GA14222@xor.obsecurity.org> References: <20050519203935.360BEF6E7@pechkin.sputnikmedia.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: <20050519203935.360BEF6E7@pechkin.sputnikmedia.net> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: /var/db/pkgrestore X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2005 21:37:40 -0000 --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--