On 15/03/2015 01:52, Neil Bothwick wrote: > On Sun, 15 Mar 2015 00:12:49 +0200, Alan McKinnon wrote: > >> I delete package.use and have no backup >> >> Is there any easy way to recover what was in it? I'm busy doing it the >> long way round - repeatedly running emerge world, get past the blocking >> USE, then see all the flags that portage thinks changed. >> >> I wonder if there might be an easier way that I don't know of. > > I can't think of an approach any better than what you're doing. But > console yourself with the thought that you will only ever have to do this > once, because you'll always backup /etc/portage from now on.
That's what I thought.... oh well... > BTW having backups is no protection against ID-ten-T errors. I no longer > use BackupPC so decided to delete my backuppc subvolume last week, and > used tab completion, not noticing that it completed on backup until an > ohnosecond before hittng enter. > > I wondered why the backuppc volume was still listed, then I wondered why > it was listed first, then I cried. ooooooooh, nasty. We've all done things like that. My favourite is the time I was trying to run fsck/repair an ext3 volume and was getting strange errors, which I didn't take time to understand. Being tired and lazy, I confused --force with RTFM. Then I noticed it was actually a reiser volume. One customer machine. Ruined. -- Alan McKinnon alan.mckin...@gmail.com