public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Reconstruct package.use
Date: Sun, 15 Mar 2015 02:03:39 +0200	[thread overview]
Message-ID: <5504CC5B.5040008@gmail.com> (raw)
In-Reply-To: <20150314235225.36d76d1a@digimed.co.uk>

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.mckinnon@gmail.com



  reply	other threads:[~2015-03-15  0:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-14 22:12 [gentoo-user] Reconstruct package.use Alan McKinnon
2015-03-14 22:36 ` Simon Thelen
2015-03-14 23:07   ` Alan McKinnon
2015-03-14 23:39     ` [gentoo-user] " James
2015-03-14 23:56       ` Alan McKinnon
2015-03-14 23:52 ` [gentoo-user] " Neil Bothwick
2015-03-15  0:03   ` Alan McKinnon [this message]
2015-03-15 14:45 ` Bruce Hill, Jr.
2015-03-15 17:22   ` Neil Bothwick
2015-03-15 20:56   ` Alan McKinnon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5504CC5B.5040008@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox