From owner-freebsd-questions@FreeBSD.ORG Wed Jun 13 21:18:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FB471065670 for ; Wed, 13 Jun 2012 21:18:13 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 594A68FC0C for ; Wed, 13 Jun 2012 21:18:13 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Set4T-0005VS-BK for freebsd-questions@freebsd.org; Wed, 13 Jun 2012 21:17:37 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jun 2012 21:17:37 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jun 2012 21:17:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Wed, 13 Jun 2012 19:17:20 +0000 (UTC) Lines: 21 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:13.0) Gecko/20100101 Firefox/13.0) Subject: Re: Lost /var/db/pkg 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: Wed, 13 Jun 2012 21:18:13 -0000 William Orr worrbase.com> writes: > > Hello, > > I had a hard disk failure some time ago, and I ended up losing > /var/db/pkg/ and everything under it (before you say I should've been > backing it up, I know, I was actually doing an initial full when this > happened). Is there a way I can restore it, or at least manually add > entries I know for sure about? forums.freebsd.org/showthread.php?t=6466 "The application themselves are still installed and will keep functioning, you just removed the records of their installation. When you later install newer versions, you may have to use a force flag to overwrite files (the port thinks it is uninstalled after all). The new port installations will get recorded in /var/db/pkg again.' jb