Am Dienstag, 17. Mai 2005 09:52 schrieb ext Colin: > >>Well, apparently I destroyed Portage. What now? > > > >No, you didn't. Your world file is gone, that's all (it seems). However, > > it may be some work to rebuild it.
From the message below, it now looks as if you indeed destroyed some vital
part of portage. I was hoping that it was only the world file.
> >1) Simply "touch /var/lib/portage/world"
>
> Worked. If it was supposed to spit back some output, it didn't.
No. It just creates an empty file.
> >2) Then do "emerge -p depclean" (don't forget -p) and put every package
> > it lists into your world file.
>
> It says:
> !!! You have no world file. Cannot determine explicit merges.
> !!! You have no installed package tree (var/db/pkg). This is a problem.
It is. /var/db/pkg is where portage remembers what is installed on your
system and how it was installed.
Don't know how to get that back, other than from a backup or by "emerge -e
system" followed by "emerge <package>" for every package that you installed
yourself.
Maybe someone else knows?
> While you were typing your first message, I successfully ran an emerge
> --sync, and it told me that there was a new version of Portage
> available. This is probably because a lot of /var was annihilated,
> though.
No, it is because there is a new portage ebuild in the tree.
Bye...
Dirk
--
Dirk Heinrichs | Tel: +49 (0)162 234 3408
Configuration Manager | Fax: +49 (0)211 47068 111
Capgemini Deutschland | Mail: [EMAIL PROTECTED]
Hambornerstra�e 55 | Web: http://www.capgemini.com
D-40472 D�sseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
pgpLcOlRzntBO.pgp
Description: PGP signature

