On 06/14/10 12:19, Volker Armin Hemmann wrote: > On Montag 14 Juni 2010, Helmut Jarausch wrote: > >> On 14 Jun, Volker Armin Hemmann wrote: >> >>> On Montag 14 Juni 2010, Helmut Jarausch wrote: >>> >>>> Hi, >>>> >>>> due to a disk crash I've lost my root partition. >>>> Unfortunately, the backup version is 4 weeks old. >>>> But my /usr partition is up-to-date and I have >>>> binary build-pkgs. >>>> What's the fastest way to restore the portage-relevant >>>> data on the root partition? >>>> >>>> Many thanks for a hint, >>>> Helmut. >>>> >>> if /var/db survived, you can grep for /bin /lib /sbin etc in /var/db and >>> install the packages hit. >>> >> Thanks, but unfortunately /var was on the root partition. >> >> So, I have to emerge -k --update @world @system . >> >> Helmut. >> > except that without /var portage does now know what @system or @world is made > off. > > If you have a 4-week old version of /var/db, you can probably use that for the sake of rebuilding/unpackaging system and world. Hopefully, system and world won't have changed so much in four weeks that a ground-up rebuild will be more efficient.
-Dru