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 BDBB01382C5 for ; Sat, 27 Feb 2021 13:35:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A1CFE0966; Sat, 27 Feb 2021 13:35:40 +0000 (UTC) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (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 5EB22E0942 for ; Sat, 27 Feb 2021 13:35:40 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lFzkx-0003rV-2w for gentoo-user@lists.gentoo.org; Sat, 27 Feb 2021 14:35:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: Determine why Python 2.7 is still installed? Date: Sat, 27 Feb 2021 13:35:33 -0000 (UTC) Message-ID: References: <99f64762-33a8-34a5-9362-9058b741dd6c@konstantinhansen.de> User-Agent: slrn/1.0.3 (Linux) 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 54e30637-27b1-4d8f-b184-bc10c8e48668 X-Archives-Hash: b09f8d65e279c68d7b7f36d433fe115d On 2021-02-27, hitachi303 wrote: > Am 27.02.2021 um 14:08 schrieb Grant Edwards: > >> How do you determine why portage thinks a certain slot of a package >> is required? None of the documentation I an find on portage discusses >> finding packages dependent on particular slots. > > Have you tried #emerge -av --depclean = ? Thanks! That does it: # emerge -av --depclean =dev-lang/python-2.7.18-r6 Calculating dependencies... done! dev-lang/python-2.7.18-r6 pulled in by: www-client/chromium-88.0.4324.182 requires >=dev-lang/python-2.7.5-r2:2.7[xml] I'm a bit surprised that 'equery d' is unable to figure that out. The other option I found is to uninstall python:2.7, then do emerge -auvNDt, and see why it's being re-installed, but that's a bit drastic. And now that I know the answer it makes sense: the machines where python 2.7 was removed by depclean don't have Chromium installed. -- Grant