From: "Mickaël Bucas" <mbucas@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Regenerating package db
Date: Thu, 27 Aug 2009 12:24:45 +0200 [thread overview]
Message-ID: <6e6572060908270324y5a2226f1v91e03e9ceaa1c03b@mail.gmail.com> (raw)
In-Reply-To: <200908271202.19440.alan.mckinnon@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]
2009/8/27 Alan McKinnon <alan.mckinnon@gmail.com>
> 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
>
> --
> alan dot mckinnon at gmail dot com
>
>
You may find some useful informations in /var/log/emerge.log : all lines
containing ":::" show a succesful emerge.
If you have kept the contents of this file since you installed your system,
you could then get the list of all packages you have installed. It would be
a start that you could cleanup afterwards. However, this will include system
packages and dependencies. And if you have uninstalled many packages (as
with any update), they would also still be present in that list.
Mickaël
[-- Attachment #2: Type: text/html, Size: 1678 bytes --]
next prev parent reply other threads:[~2009-08-27 5:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-27 9:07 [gentoo-user] Regenerating package db Xavier Parizet
2009-08-27 9:25 ` Dale
2009-08-27 9:40 ` Xavier Parizet
2009-08-27 9:47 ` Dale
2009-08-27 9:56 ` Xavier Parizet
2009-08-27 10:01 ` Dale
2009-08-27 10:14 ` Xavier Parizet
2009-08-27 10:02 ` Alan McKinnon
2009-08-27 10:15 ` Xavier Parizet
2009-08-27 10:24 ` Mickaël Bucas [this message]
2009-08-27 10:55 ` Xavier Parizet
2009-08-29 15:33 ` Alan McKinnon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6e6572060908270324y5a2226f1v91e03e9ceaa1c03b@mail.gmail.com \
--to=mbucas@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox