Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jun 2005 18:19:16 -0700
From:      Vizion <vizion@vizion.occoxmail.com>
To:        freebsd-questions@freebsd.org
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: pkgdb problem
Message-ID:  <200506061819.16728.vizion@vizion.occoxmail.com>
In-Reply-To: <200506061730.01713.vizion@vizion.occoxmail.com>
References:  <200506061414.16870.vizion@vizion.occoxmail.com> <20050606223206.GA84164@xor.obsecurity.org> <200506061730.01713.vizion@vizion.occoxmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 06 June 2005 17:30,  the author Vizion contributed to the dialogue 
on-
 Re: pkgdb problem: 

>On Monday 06 June 2005 15:32,  the author Kris Kennaway contributed to the
>dialogue on-
>
> Re: pkgdb problem:
>>On Mon, Jun 06, 2005 at 02:14:16PM -0700, Vizion wrote:
>>> Hi
>>>
>>> I managed  to get my pkgdb entirely screwed up - and there is now no
>>> database.
>>>
>>> I tried pkgdb -fu
>>> And was told there were 0 pkgs!
>>>
>>> How do I rebuild from scratch?
>>
>>If you accidentally delete your /var/db/pkg directory then the only
>>way to recover it is to restore from backup.
>
>Ooooooooooooooh dear
>are there no recovery scripts - I lost my var partition - and the back up
> was overwritten by a blank db!!
>I have a file listing of all the packages installed on the system - an
> output from pkg_info.
>Do you happen to know if there is any way I can at least get that into the
>pkgdb?
The file listing is up to date!
Could it be used to pull the rest of the data from elsewhere or am I clutching 
at straws <chuckles> :-(
David

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.



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