1 |
On Thursday 27 August 2009 11:07:24 Xavier Parizet wrote: |
2 |
> Hi everyone, |
3 |
> |
4 |
> I had some problem with /var/db/pkg : it's empty. So, how can i fix this |
5 |
> without rebuilding world and system from scratch ? |
6 |
|
7 |
You need to rebuild world from scratch :-) |
8 |
|
9 |
Portage has now no way of knowing what you had. If emerge world does not work |
10 |
for some reason, you will have to: |
11 |
|
12 |
1. download a recent suitable stage tarball |
13 |
2. Back up everything that tarball might want to overwrite |
14 |
3. Unpack that tarball to / |
15 |
4. Put critical files back that the stage overwrote |
16 |
5. emerge world |
17 |
|
18 |
You might also want to do all this in a chroot off a LiveCD |
19 |
|
20 |
-- |
21 |
alan dot mckinnon at gmail dot com |