From owner-freebsd-questions@FreeBSD.ORG Wed Jun 13 23:40:51 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 180DC106566B for ; Wed, 13 Jun 2012 23:40:51 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id CA33B8FC0A for ; Wed, 13 Jun 2012 23:40:50 +0000 (UTC) Received: by obcni5 with SMTP id ni5so1971048obc.13 for ; Wed, 13 Jun 2012 16:40:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Fi//j2WWPOMK7jWPP1WGdWKj+eH2pFGOD4/JgR27otI=; b=s9zx1n2UI59DCYDBegx3WO8oUoHyFvUAsGgA3cwlDK5ktF8bYBZSqIDzTzqLa/jY9L ZqCt5pHcRJsLDDNPB4b4rxJmSI4IW7bOhuHLcBI39Bf1W9ng4l9MgXRth9EYU3psN+4v 02tAkMrl64DQ64ts5Cx4lJHkspKIjepqDhzJI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=Fi//j2WWPOMK7jWPP1WGdWKj+eH2pFGOD4/JgR27otI=; b=hKo3UXcwsQXPrqdTku69wLrCGhBmJlV+Z0rzDIcScQuq+QRNJWVe2J9UblskAQ4f2A YvE6TMQPhKWj+3tD1Y5oNKjJG94thkZJRcdBTb5qtjvYhhOEtIBetUwdcPNynztXs24A OsimtqvuhESwyTtvjqghGVGS0d7k3Al5Q1YdsQpcOJO9usv0OfM8jOyeejA48696Cjwq z4b1yBXjZy7iZuZBVVAHp8ae6NGLoZSbMSUZ8CwOfqFeUSZqpez1Ul/QN0rfpJZ9dPha vqkCIo+oYI9pC5OhAcYcC6o5F8cbX1vkIwz3DNl2D/x3QKOLarBmheN0Z95sRkFASyOS 6i2A== Received: by 10.60.170.38 with SMTP id aj6mr26462963oec.51.1339630850230; Wed, 13 Jun 2012 16:40:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.204.69 with HTTP; Wed, 13 Jun 2012 16:40:19 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Wed, 13 Jun 2012 16:40:19 -0700 Message-ID: To: William Orr Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQnXL/4gPkcFccusNxajRSu50Up5yR/TIv1PxUjOGFjZC8tpSLecmtkhCqeE5LaWDbaI1qZ3 Cc: freebsd-questions@freebsd.org 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 23:40:51 -0000 On 12 June 2012 18:03, William Orr wrote: > 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? look in /var/db/pkgdb.bak.tbz -- Eitan Adler