Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Determine why Python 2.7 is still installed?
Date: Sat, 27 Feb 2021 13:35:44
Message-Id: s1dhr5$d6l$1@ciao.gmane.io
In Reply to: Re: [gentoo-user] Determine why Python 2.7 is still installed? by hitachi303
1 On 2021-02-27, hitachi303 <gentoo-user@××××××××××××××××.de> wrote:
2 > Am 27.02.2021 um 14:08 schrieb Grant Edwards:
3 >
4 >> How do you determine why portage thinks a certain slot of a package
5 >> is required? None of the documentation I an find on portage discusses
6 >> finding packages dependent on particular slots.
7 >
8 > Have you tried #emerge -av --depclean =<atom> ?
9
10 Thanks!
11
12 That does it:
13
14 # emerge -av --depclean =dev-lang/python-2.7.18-r6
15
16 Calculating dependencies... done!
17 dev-lang/python-2.7.18-r6 pulled in by:
18 www-client/chromium-88.0.4324.182 requires >=dev-lang/python-2.7.5-r2:2.7[xml]
19
20 I'm a bit surprised that 'equery d' is unable to figure that out.
21
22 The other option I found is to uninstall python:2.7, then do emerge
23 -auvNDt, and see why it's being re-installed, but that's a bit
24 drastic.
25
26 And now that I know the answer it makes sense: the machines where
27 python 2.7 was removed by depclean don't have Chromium installed.
28
29 --
30 Grant