Gentoo Archives: gentoo-user

From: Xavier Parizet <xav@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Regenerating package db
Date: Thu, 27 Aug 2009 05:06:55
Message-Id: 4A965CDF.8040102@gentooist.com
In Reply to: Re: [gentoo-user] Regenerating package db by Alan McKinnon
1 Alan McKinnon a écrit :
2 > On Thursday 27 August 2009 11:07:24 Xavier Parizet wrote:
3 >> Hi everyone,
4 >>
5 >> I had some problem with /var/db/pkg : it's empty. So, how can i fix this
6 >> without rebuilding world and system from scratch ?
7 >
8 > You need to rebuild world from scratch :-)
9 >
10 > Portage has now no way of knowing what you had. If emerge world does not work
11 > for some reason, you will have to:
12 >
13 > 1. download a recent suitable stage tarball
14 > 2. Back up everything that tarball might want to overwrite
15 > 3. Unpack that tarball to /
16 > 4. Put critical files back that the stage overwrote
17 > 5. emerge world
18 >
19 > You might also want to do all this in a chroot off a LiveCD
20 >
21
22 I think this would be the last option of course... it will take me 2 days to
23 rebuild my world (i had already done this one week ago...)
24
25 So thanks for your solution, i'll keep it under my hand ;)
26
27 --
28 Xavier Parizet
29 YaGB : http://gentooist.com
30 GPG : C7DC B10E FC21 63BE
31 B453 D239 F6E6 DF65 1569 91BF

Attachments

File name MIME type
signature.asc application/pgp-signature