Glenn Lagasse wrote:
> Hey Danek,
> 
> * Danek Duvall ([EMAIL PROTECTED]) wrote:
>> On Mon, Sep 29, 2008 at 08:52:07AM -0700, Glenn Lagasse wrote:
>>
>>> Is there any way to recover from this situation?
>> Not very easily.  Certainly not while battling a head cold.  :)  We've
>> talked about being able to do this kind of "pkg fix" -- assume that what's
>> on your disk is sane, but your metadata is corrupt or missing -- but it's
>> not even remotely there yet.
>>
>> Now, if you still have files in /var/pkg/state/installed, then you know
>> what you have on your system, and can manually re-download all your
>> manifests.  You'll have to remember what packages belong to what
>> authorities, and if you had any filters applied to any packages.
> 
> Thanks Danek.  I thought I was probably out of luck.  While I still have
> a populated /var/pkg/state/installed directory (I wasn't *that* zealous
> :-) )I don't think I know enough about the particulars to attempt a
> recovery (the machine is a vanilla install from liveCD).  So
> reinstalling is probably the quicker (and easier to accomplish with
> aforementioned head cold) solution. :-)
> 

You should still have the original data under the @install snapshot. 
Either create a clone or set snapdir=visible and copy the data out of 
that snapshot and you can get back to correct state if it was just a 
vanilla install.

Dave
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to