Alan McKinnon a écrit :
> On Thursday 27 August 2009 11:07:24 Xavier Parizet wrote:
>> Hi everyone,
>>
>> I had some problem with /var/db/pkg : it's empty. So, how can i fix this
>> without rebuilding world and system from scratch ?
> 
> You need to rebuild world from scratch :-)
> 
> Portage has now no way of knowing what you had. If emerge world does not work 
> for some reason, you will have to:
> 
> 1. download a recent suitable stage tarball
> 2. Back up everything that tarball might want to overwrite
> 3. Unpack that tarball to /
> 4. Put critical files back that the stage overwrote
> 5. emerge world
> 
> You might also want to do all this in a chroot off a LiveCD
> 

I think this would be the last option of course... it will take me 2 days to
rebuild my world (i had already done this one week ago...)

So thanks for your solution, i'll keep it under my hand ;)

-- 
      Xavier Parizet
YaGB :   http://gentooist.com
GPG  :    C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to