Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2012 14:26:51 -0700
From:      Eitan Adler <lists@eitanadler.com>
To:        jb <jb.1234abcd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Lost /var/db/pkg
Message-ID:  <CAF6rxg=JzqwhrphGWBBaZzwhg7TQY55va2DO0F4S4K4aQ8d3ag@mail.gmail.com>
In-Reply-To: <loom.20120613T211415-353@post.gmane.org>
References:  <CAG%2BKJSJh7dQNg4cnHnu9O0u8_fmvWF0YuWQaeeVPxGrPSaDHnQ@mail.gmail.com> <loom.20120613T211415-353@post.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 June 2012 12:17, jb <jb.1234abcd@gmail.com> wrote:
> William Orr <will <at> 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

This will work if you need minimal downtime, but *will* come back to
bite you some time down the line.


-- 
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxg=JzqwhrphGWBBaZzwhg7TQY55va2DO0F4S4K4aQ8d3ag>