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 1E16xn-0007C7-Iv for garchives@archives.gentoo.org; Fri, 05 Aug 2005 18:30:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j75ISni5032039; Fri, 5 Aug 2005 18:28:49 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j75INQcG010120 for ; Fri, 5 Aug 2005 18:23:26 GMT Received: by wproxy.gmail.com with SMTP id 68so662589wra for ; Fri, 05 Aug 2005 11:24:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=jbPqfFMaQn49mGdkQsVzNS9E0MQNsoeHKBtUQO4x1pyqb54wawb/nGCokK+zLOejvuyoUB9JN26CMVQSnCu6Sxf193GlVXQg1EA4/6Xtj4VRGRqJfEHGAS9XgGxRR+t4uHk9R5hy00YHzS39QSvpriSBsFlfYiChef1/zrhXNwM= Received: by 10.54.53.62 with SMTP id b62mr2783581wra; Fri, 05 Aug 2005 11:24:20 -0700 (PDT) Received: from ?192.168.1.10? ([24.30.171.44]) by mx.gmail.com with ESMTP id 34sm1728960wra.2005.08.05.11.24.19; Fri, 05 Aug 2005 11:24:20 -0700 (PDT) Message-ID: <42F3AF0F.1030709@gmail.com> Date: Fri, 05 Aug 2005 11:25:19 -0700 From: Zac Medico User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050804) X-Accept-Language: en-us, en 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to comletely remove some package? References: <200508051211.27128.cadaver@nerdshack.com> <5bdc1c8b0508051007576eea23@mail.gmail.com> In-Reply-To: <5bdc1c8b0508051007576eea23@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 089e3472-c70f-404f-8424-3f871a8a51f8 X-Archives-Hash: a4e10ac86187cc14a599e5c350a9e4c2 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 -- gentoo-user@gentoo.org mailing list