In CentOS Stream 8, A yum upgrade just upgraded platform-python to platform-python-3.6.8-41.el8.x86_64.rpm. The upgrade wouldn't go through until I removed python3-tkinter-3.6.8-40.el8.x86_64.
Now I want to reinstall python3-tkinter, and the only version yum is offering is 3.6.8-40, and it offers to downgrade platform-python to 3.6.8-41.
python3-tkinter-3.6.8-37.el8.x86_64.rpm
python3-tkinter-3.6.8-38.el8.x86_64.rpm
python3-tkinter-3.6.8-39.el8.x86_64.rpm
python3-tkinter-3.6.8-40.el8.x86_64.rpm
python3-tkinter-3.6.8-41.el8.x86_64.rpm
How do I get yum/dnf to let me install the "right" one (3.6.8-41)?
On Tue, 2021-09-21 at 11:49 -0700, Steven Rosenberg wrote:
In CentOS Stream 8, A yum upgrade just upgraded platform-python to platform-python-3.6.8-41.el8.x86_64.rpm. The upgrade wouldn't go through until I removed python3-tkinter-3.6.8-40.el8.x86_64.
Now I want to reinstall python3-tkinter, and the only version yum is offering is 3.6.8-40, and it offers to downgrade platform-python to 3.6.8-41.
python3-tkinter-3.6.8-37.el8.x86_64.rpm
python3-tkinter-3.6.8-38.el8.x86_64.rpm
python3-tkinter-3.6.8-39.el8.x86_64.rpm
python3-tkinter-3.6.8-40.el8.x86_64.rpm
python3-tkinter-3.6.8-41.el8.x86_64.rpm
How do I get yum/dnf to let me install the "right" one (3.6.8-41)?
I forgot to say that all those versions of python3-tkinter are in the CentOS repo, but yum only "shows" me one.
On Sep 21, 2021, at 14:49, Steven Rosenberg passthejoe@gmail.com wrote:
In CentOS Stream 8, A yum upgrade just upgraded platform-python to platform-python-3.6.8-41.el8.x86_64.rpm. The upgrade wouldn't go through until I removed python3-tkinter-3.6.8-40.el8.x86_64.
Now I want to reinstall python3-tkinter, and the only version yum is offering is 3.6.8-40, and it offers to downgrade platform-python to 3.6.8-41.
python3-tkinter-3.6.8-37.el8.x86_64.rpm
python3-tkinter-3.6.8-38.el8.x86_64.rpm
python3-tkinter-3.6.8-39.el8.x86_64.rpm
python3-tkinter-3.6.8-40.el8.x86_64.rpm
python3-tkinter-3.6.8-41.el8.x86_64.rpm
How do I get yum/dnf to let me install the "right" one (3.6.8-41)?
The python3-tkinter package is a sub package of the python3 source package, which includes platform-python. They are versioned together, so you can’t upgrade one without needing the updates for the other.
Since python3-tkinter is in AppStream, maybe you don’t have that enabled? You need the 8Stream repo, not the one for base 8.
See the spec file to see it is a sub package: https://git.centos.org/rpms/python3/blob/c8s/f/SPECS/python3.spec#_830
— Jonathan Billings
On Tue, 2021-09-21 at 17:09 -0400, Jonathan Billings wrote:
The python3-tkinter package is a sub package of the python3 source package, which includes platform-python. They are versioned together, so you can’t upgrade one without needing the updates for the other.
Since python3-tkinter is in AppStream, maybe you don’t have that enabled? You need the 8Stream repo, not the one for base 8.
I'm not sure what happened, but today I'm able to install python3-idle and python3-tkinter, and I didn't have to downgrade platform-python. The correct versions came through.
I don't know what was different yesterday, but today it's working.
Thanks.