Gentoo Archives: gentoo-user

From: Joris Dobbelsteen <joris@××××××××××××××××××.nl>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Restore Gentoo, portage not consistent with actually installed
Date: Mon, 16 Jun 2008 12:47:43

I have yet again tried to upgrade my Xen software to a later version, 
which almost worked fine. Since I needed it fully working I have 
restored my original installation. Basically this is just using 
xfsrestore for / (root), dd to restore /boot. However I have left 
/usr/portage alone, as I considered it volatile (restorable with emerge 

However at this point portage does not seem to know what is actually 
installed and what is no longer available.

For example:
equery -i list | grep xen

It seems that xfsrestore doesn't remove all existing files, but rather 
overwrites portions. How do I clean up my system again, as the state is 
rather corrupted at this point?

Before I forgot to ask, is there a LiveCD that actually includes 
xfsrestore? I'm missing it on the gentoo 2007 install CD.

- Joris
gentoo-user@l.g.o mailing list