* [gentoo-user] Determine why Python 2.7 is still installed?
@ 2021-02-27 13:08 Grant Edwards
2021-02-27 13:18 ` hitachi303
2021-02-27 13:29 ` [gentoo-user] " Neil Bothwick
0 siblings, 2 replies; 5+ messages in thread
From: Grant Edwards @ 2021-02-27 13:08 UTC (permalink / raw
To: gentoo-user
On one of my Gentoo machines Python 2.7 has not been removed by
deplcean as it has on others, and I've been unable to determine
why. It's not in the world file, and 'equery d python' doesn't show
anything depending on 2.7. I have no python targets specified in
make.conf nor in any package use flag settings.
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.
--
Grant
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Determine why Python 2.7 is still installed?
2021-02-27 13:08 [gentoo-user] Determine why Python 2.7 is still installed? Grant Edwards
@ 2021-02-27 13:18 ` hitachi303
2021-02-27 13:35 ` [gentoo-user] " Grant Edwards
2021-02-27 13:29 ` [gentoo-user] " Neil Bothwick
1 sibling, 1 reply; 5+ messages in thread
From: hitachi303 @ 2021-02-27 13:18 UTC (permalink / raw
To: gentoo-user
Am 27.02.2021 um 14:08 schrieb Grant Edwards:
> On one of my Gentoo machines Python 2.7 has not been removed by
> deplcean as it has on others, and I've been unable to determine
> why. It's not in the world file, and 'equery d python' doesn't show
> anything depending on 2.7. I have no python targets specified in
> make.conf nor in any package use flag settings.
>
> 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 =<atom> ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: Determine why Python 2.7 is still installed?
2021-02-27 13:18 ` hitachi303
@ 2021-02-27 13:35 ` Grant Edwards
0 siblings, 0 replies; 5+ messages in thread
From: Grant Edwards @ 2021-02-27 13:35 UTC (permalink / raw
To: gentoo-user
On 2021-02-27, hitachi303 <gentoo-user@konstantinhansen.de> 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 =<atom> ?
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Determine why Python 2.7 is still installed?
2021-02-27 13:08 [gentoo-user] Determine why Python 2.7 is still installed? Grant Edwards
2021-02-27 13:18 ` hitachi303
@ 2021-02-27 13:29 ` Neil Bothwick
2021-02-27 13:37 ` [gentoo-user] " Grant Edwards
1 sibling, 1 reply; 5+ messages in thread
From: Neil Bothwick @ 2021-02-27 13:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 489 bytes --]
On Sat, 27 Feb 2021 13:08:59 -0000 (UTC), Grant Edwards wrote:
> On one of my Gentoo machines Python 2.7 has not been removed by
> deplcean as it has on others, and I've been unable to determine
> why. It's not in the world file, and 'equery d python' doesn't show
> anything depending on 2.7. I have no python targets specified in
> make.conf nor in any package use flag settings.
emerge -cpv python:2.7
--
Neil Bothwick
I have seen the truth, and it makes no sense.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: Determine why Python 2.7 is still installed?
2021-02-27 13:29 ` [gentoo-user] " Neil Bothwick
@ 2021-02-27 13:37 ` Grant Edwards
0 siblings, 0 replies; 5+ messages in thread
From: Grant Edwards @ 2021-02-27 13:37 UTC (permalink / raw
To: gentoo-user
On 2021-02-27, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Sat, 27 Feb 2021 13:08:59 -0000 (UTC), Grant Edwards wrote:
>
>> On one of my Gentoo machines Python 2.7 has not been removed by
>> deplcean as it has on others, and I've been unable to determine
>> why. It's not in the world file, and 'equery d python' doesn't show
>> anything depending on 2.7. I have no python targets specified in
>> make.conf nor in any package use flag settings.
>
> emerge -cpv python:2.7
Yep, I can't believe I didn't know that...
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-02-27 13:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-27 13:08 [gentoo-user] Determine why Python 2.7 is still installed? Grant Edwards
2021-02-27 13:18 ` hitachi303
2021-02-27 13:35 ` [gentoo-user] " Grant Edwards
2021-02-27 13:29 ` [gentoo-user] " Neil Bothwick
2021-02-27 13:37 ` [gentoo-user] " Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox