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.

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.


-- 
Neil Bothwick

"Thou shalt not battle over operating systems. I am wise and in My wisdom
have created diverse and various operating systems."
  The Ten Usenet Commandments: One

Attachment: pgpx5osA8mhNv.pgp
Description: OpenPGP digital signature

Reply via email to