From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6848F139083 for ; Tue, 19 Dec 2017 21:43:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2CF4E0FE7; Tue, 19 Dec 2017 21:43:20 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4C88FE0F3B for ; Tue, 19 Dec 2017 21:43:20 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eRPdS-0003n5-P6 for gentoo-user@lists.gentoo.org; Tue, 19 Dec 2017 22:41:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: depclean confusion Date: Tue, 19 Dec 2017 23:43:35 +0200 Message-ID: References: <20171219211837.GA7880@waltdnes.org> 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 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 In-Reply-To: <20171219211837.GA7880@waltdnes.org> Content-Language: en-US X-Archives-Salt: 8a9f2da1-3c57-4cc3-a61e-b3664754a2e7 X-Archives-Hash: d7dbcae480f6c0f2844a2606d520783e On 19/12/17 23:18, Walter Dnes wrote: > Finishing off an install, and running "emerge --depclean" > > ===================================================================== >>>> Assigning files to packages... > * In order to avoid breakage of link level dependencies, one or more > * packages will not be removed. This can be solved by rebuilding the > * packages that pulled them in. > * > * sys-libs/db-5.3.28-r2 pulled in by: > * sys-apps/iproute2-4.14.1-r1 needs libdb-5.3.so > * >>>> Adding lib providers to graph... > ===================================================================== > > 1) I've rebuilt iproute2 > > [ebuild R ] sys-apps/iproute2-4.14.1-r1::gentoo USE="-atm -berkdb -iptables -ipv6 -minimal (-selinux)" 0 KiB Unmerge it anyway and then rebuild iproute2. It seems like an automagic dep. It should not be using db when the berkdb USE flag is not set. Since it does, it's a bug. However, rebuilding it after unmerging db should fix it. With that being said, do a "quickpkg sys-libs/db" first to get a tarball backup, just to be safe if you need to restore it.