Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Python 3.10 installed despite no remaining dependencies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
diem
n00b
n00b


Joined: 19 Sep 2019
Posts: 21

PostPosted: Mon Oct 14, 2024 3:49 pm    Post subject: Python 3.10 installed despite no remaining dependencies Reply with quote

Hi all,

I recently realised that I have both Python 3.12 and 3.10 installed (' equery l dev-lang/python' lists both of them). If however I run 'equery d dev-lang/python-3.10', no package returned depends solely upon 3.10, indeed all list 3.12 and 3.12 as alternate dependencies. Running 'emerge --depclean' however does not deselect dev-lang/python-3.10.15._p1. What am I missing? Can anyone suggest why 3.10 is being retained or what command I should run to work that out?

Many thanks for any illumination,

Ian
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1873

PostPosted: Mon Oct 14, 2024 4:44 pm    Post subject: Reply with quote

Try running: emerge -avc dev-lang/python:3.10

If something is holding on to it, then it will complain. If the package and slot was just in your world file, then it will be allowed to be removed.
Back to top
View user's profile Send private message
diem
n00b
n00b


Joined: 19 Sep 2019
Posts: 21

PostPosted: Mon Oct 14, 2024 5:20 pm    Post subject: Reply with quote

Thanks so much! That identified the issue - looks like I need to update an ebuild in my local repo to 'let go' of Python 3.10.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum