From owner-freebsd-stable@FreeBSD.ORG Thu Sep 5 12:52:06 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D78D3905 for ; Thu, 5 Sep 2013 12:52:06 +0000 (UTC) (envelope-from j.ballantine@gmail.com) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B06AB2BF0 for ; Thu, 5 Sep 2013 12:52:06 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id lb1so1865536pab.26 for ; Thu, 05 Sep 2013 05:52:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Vggq5uMXC30Fto+QcVO/1Oz9wZHZdMynqF5q8uEgtBA=; b=RQUZlVNPAjSvwC1YpHMclYXhQy80b1vzVa5/+Y4lhPpQWlCBCuRjmFnyvj5O5tZZ1u TSpfOKFeQlitEa8a7zw56JaotFXUqGHXQg+gAENJtUlHi1Ph/uYIV6Katozq6M4z92oc g7kVfIfDHnAh0xxYcu1FJNS+oSeu0aLupYwG+gLEV8yZH+hKVdIpdomgwtCjaJeXAOVp 9iP1Yl4FTy8Gb4iYj0NAyP9N7e8NcKXGp3mLAv0zxl/tUL2RxRVIzjAXzGLJ89NeugdG sCvH4XlwX2O0rZPvDgXtdoPJVWVggRVpKRhouAZYY8rReJxEj905QBoYVmdmL7AmA/Rn LJvg== MIME-Version: 1.0 X-Received: by 10.68.197.36 with SMTP id ir4mr9012171pbc.96.1378385526346; Thu, 05 Sep 2013 05:52:06 -0700 (PDT) Received: by 10.70.30.67 with HTTP; Thu, 5 Sep 2013 05:52:06 -0700 (PDT) In-Reply-To: References: Date: Thu, 5 Sep 2013 08:52:06 -0400 Message-ID: Subject: Fwd: Package database From: Jim Ballantine To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2013 12:52:07 -0000 Sorry these didn't get to the list. gmail responses only to sender and not cc, it also seems to top post. ---------- Forwarded message ---------- From: Jim Ballantine Date: Wed, Sep 4, 2013 at 3:09 PM Subject: Re: Package database To: Freddie Cash I looked in /var/db and there is not dir/file named backup. There is a dir named pkg.bak but it is empty. On Wed, Sep 4, 2013 at 1:46 PM, Jim Ballantine wrote: > I'm trying to upgrade with portmaster and getting: > > portmaster -Gadv > ===>>> Sorting ports by category > ===>>> Gathering distinfo list for installed ports > > ===>>> No ORIGIN in /var/db/pkg/ORBit2-2.14.19/+CONTENTS > > ===>>> No ORIGIN in /var/db/pkg/R-3.0.1/+CONTENTS > > > > On Wed, Sep 4, 2013 at 1:43 PM, Freddie Cash wrote: > >> On Wed, Sep 4, 2013 at 10:41 AM, Jim Ballantine wrote: >> >>> My /var/db/pkg has become corrupt, and I can't find an archive of it to >>> install in it's place. Does one exist and if so where? If not any >>> ideas on >>> how to rebuild the db? >>> >> >> Are you using PKGng or the old pkg_* tools? >> >> Meaning, is your data stored as individual files under >> /var/db/pkg/PORTNAME/*, or as a single sqlite database under /var/db/pkg? >> >> If using PKGng, there's a backup copy under /var/db/backup* >> >> If using the older pkg_* tools, you're screwed. :) >> >> >> -- >> Freddie Cash >> fjwcash@gmail.com >> > >