From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E17b0-0006U1-Hn for garchives@archives.gentoo.org; Fri, 05 Aug 2005 19:11:06 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j75J9MbM009046; Fri, 5 Aug 2005 19:09:22 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.198]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j75J5lUL032264 for ; Fri, 5 Aug 2005 19:05:47 GMT Received: by zproxy.gmail.com with SMTP id x7so430789nzc for ; Fri, 05 Aug 2005 12:06:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZXdV6xGkcdYs/xoIdLzfLo5+njANbPTfmJTzeBzoNeRLPdsKIiXvHk9Tu/cx4GmJpOKF3tteiwztE2rKLp7/XYaTLeuoq5MuAfIFg/VOH88nS/jsWP8gY63aiA0Is/4DjldaKI8DMI8zrICdzl2ktgQ21DwgfnsQtJ1FyOgvMtE= Received: by 10.36.178.17 with SMTP id a17mr1453371nzf; Fri, 05 Aug 2005 12:06:41 -0700 (PDT) Received: by 10.36.57.9 with HTTP; Fri, 5 Aug 2005 12:06:41 -0700 (PDT) Message-ID: <5bdc1c8b05080512061c982c1@mail.gmail.com> Date: Fri, 5 Aug 2005 12:06:41 -0700 From: Mark Knecht To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to comletely remove some package? In-Reply-To: <42F3AF0F.1030709@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <200508051211.27128.cadaver@nerdshack.com> <5bdc1c8b0508051007576eea23@mail.gmail.com> <42F3AF0F.1030709@gmail.com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j75J5lUL032264 X-Archives-Salt: 1b344427-6c36-4928-a6c7-23649a61b5e8 X-Archives-Hash: c132bea6a7c5173beb8e0345bb4c18c5 On 8/5/05, Zac Medico wrote: > Mark Knecht wrote: > > Generally speaking, something like: > > > > 1) emerge -Cp package > > 2) emerge -pv --deep --update --newuse world > > 3) emerge -pv --depclean > > 4) revdep-rebuild -p > > > > This should get rid of a package and any dependencies that are no longer needed. > > > > NOTE: There have been some discussions about needing to do one or more > > of these steps multiple times. Hopefully my answer will spur someone > > with knowledge of that to point out if and when that is required. > > > > Cheers, > > Mark > > > > At build time, some packages will link against unwanted libraries. Even though the unwanted library may not be strictly required, the ebuild may not support a way to disable it with use flags. For this reason, it's a good idea to add another step to your sequence: > > 1.5) emerge -av depclean > > Some libraries that seem to actually link against the installed version at build time. This results in broken dynamic links when the installed version is replaced with the freshly built one. In these situations, a simple workaround is to unmerge the installed version before rebuilding it. > > Zac Ah, thanks. so the idea is: 1) emerge -Cp package 1.5) emerge -av depclean 2) emerge -av --deep --update --newuse world 3) emerge -pv --depclean 4) revdep-rebuild -p With step 1.5 to remove these old libraries? Seems to me that doing this sort of depends on having done the whole process sometime before cleanly through step 4. Fine with me though. Thanks for the explanation. Cheers, Mark -- gentoo-user@gentoo.org mailing list