From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S78oP-0002wr-8x for garchives@archives.gentoo.org; Mon, 12 Mar 2012 17:13:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F35BCE0C3E; Mon, 12 Mar 2012 17:13:23 +0000 (UTC) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 86351E0B71 for ; Mon, 12 Mar 2012 17:12:21 +0000 (UTC) Received: by werm13 with SMTP id m13so4050340wer.40 for ; Mon, 12 Mar 2012 10:12:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=/5k8JWaaw80lxPWwoUzqSQQaqNMVUQayYqRDHz2bpJ0=; b=ClEG7P5x/MLw1HI9UBC4qdeLiTJn8cv0XlXOhtDCf9TNqhoiJACnm0F2kp2/ozWSr7 KzO6Kp532MyQqoIb/I05WF61UKGcbzY4pQrhbFmgdV2Fx5w56Y1J3lptbl2/bp2s4bk+ OZCvY4uVwrYZNDpNeWt5RcutKJzcWkXTQdlmtKBuB3WraVjUH+xwQ+upExa0DxO3NpIU MGGR+gWiJyXyoKg+YunVeJw3tJp+Oka7ym1v6vuzBAQhU/b7bj0fo74TrbOlq1HB8S6Q GypwMpGO+bWaRmEJKa9S+Y962SFggFbiBRmuXXALB7B46bLITp+X3/QN2KVApEsVjvqf KA1w== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.180.97.41 with SMTP id dx9mr29032560wib.9.1331572340605; Mon, 12 Mar 2012 10:12:20 -0700 (PDT) Received: by 10.223.2.194 with HTTP; Mon, 12 Mar 2012 10:12:20 -0700 (PDT) In-Reply-To: <1331542409.24722.1@numa-i> References: <1331542409.24722.1@numa-i> Date: Mon, 12 Mar 2012 10:12:20 -0700 Message-ID: Subject: Re: [gentoo-user] emerge problem - removing old libraries? From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ba72fe8c-7074-423b-aa72-3d8d90a219df X-Archives-Hash: fd90b923163a938dcf68241a5777de2b On Mon, Mar 12, 2012 at 1:53 AM, Helmut Jarausch wrote: > Hi, > > even the most recent portage =C2=A02.2.0_alpha90 has difficulties handlin= g > @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_registr= y. > But after that the old libraries are still hanging around and revdep-rebu= ild > 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