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 01:07:55 +0200	[thread overview]
Message-ID: <5504BF4B.2050607@gmail.com> (raw)
In-Reply-To: <20150314223640.GA1848@anonymous>

On 15/03/2015 00:36, Simon Thelen wrote:
> On 15-03-15 at 00:12, Alan McKinnon wrote:
>> It took 10 years but I've finally done something monumentally stupid in
>> Gentoo:
>>
>> 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.
> Have you tried:
> emerge -pDU --with-bdeps=y @world
> 
> That should list all packages where the installed use-flags differ from
> the "current" use-flags.
> 


That is the process I'm using.
I'm looking for an easier way :-)


-- 
Alan McKinnon
alan.mckinnon@gmail.com



  reply	other threads:[~2015-03-14 23:08 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 [this message]
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
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=5504BF4B.2050607@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