Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Regenerating package db
Date: Thu, 27 Aug 2009 04:54:34
Message-Id: 200908271202.19440.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] Regenerating package db by Xavier Parizet
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

Replies

Subject Author
Re: [gentoo-user] Regenerating package db Xavier Parizet <xav@×××××××××.com>
Re: [gentoo-user] Regenerating package db "Mickaël Bucas" <mbucas@×××××.com>