public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge problem - removing old libraries?
Date: Mon, 12 Mar 2012 10:12:20 -0700	[thread overview]
Message-ID: <CAK2H+edL=U1=4wEFaQ48esS74d9bC8wM7YXXc2PNMtnbuQKSHg@mail.gmail.com> (raw)
In-Reply-To: <1331542409.24722.1@numa-i>

On Mon, Mar 12, 2012 at 1:53 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> Hi,
>
> even the most recent portage  2.2.0_alpha90 has difficulties handling
> @preserved-rebuild especially after many binary emerge operations.
> It tries to re-emerge the same packages again and again.
> As a last resort I have to remove /var/lib/portage/preserved_libs_registry.
> But after that the old libraries are still hanging around and revdep-rebuild
> won't since there aren't any broken libs or binaries just some which are
> linked against old versions.
> Is there an elegant way to find these old libraries? (Removing them would
> alert revdep-rebuild afterwards).
>
> Thanks for a hint,
> Helmut.
>

Hi,
   I haven't tried Neil's method so I cannot comment on that.

  Personally I actually start with

revdep-rebuild -ip

to see if anything is flagged. If there is then I run

equery depends whatever-was-found

and

equery belongs whatever-was-found

to see what uses (if anything) and what owns (if anything)
whatever-was-found. If nothing uses or owns then I delete it by hand.

   It's labor intensive. Possibly Neil's metthod gets around some of
that. However I've used this for years and seldom had too many things
to clean up, and what I have had wasn't too difficult to work though.
There were some issue with Flash on one of my machine last week that
took awhile to dig through.

   I try to do my machine once every couple of months.

HTH,
Mark



      parent reply	other threads:[~2012-03-12 17:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12  8:53 [gentoo-user] emerge problem - removing old libraries? Helmut Jarausch
2012-03-12 10:08 ` Neil Bothwick
2012-03-12 12:23   ` Michael Hampicke
2012-03-12 18:55     ` Helmut Jarausch
2012-03-12 20:11       ` Michael Hampicke
2012-03-12 17:12 ` Mark Knecht [this message]

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='CAK2H+edL=U1=4wEFaQ48esS74d9bC8wM7YXXc2PNMtnbuQKSHg@mail.gmail.com' \
    --to=markknecht@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