Can't Revert to Repository Version of Python3
by Flexico from LinuxQuestions.org on (#6FWEV)
I manually installed Python version 3.12.0 (the version that installed by default is 3.10.6), but it turns out I now need to manually install/update all plugins in addition to the main Python version. Preferring to let apt do that work, I tried to downgrade Python3 back to the repository version, but it says that it's still on version 3.10.6, even though when I actually run "python3" it says "3.12.0".
Code:flexico@flexico-laptop-5590 ~ $ sudo apt install python3=3.10.6-1~22.04
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3 is already the newest version (3.10.6-1~22.04).
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
flexico@flexico-laptop-5590 ~ $ python3
Python 3.12.0 (main, Oct 24 2023, 11:47:45) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
Code:flexico@flexico-laptop-5590 ~ $ sudo apt install python3=3.10.6-1~22.04
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3 is already the newest version (3.10.6-1~22.04).
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
flexico@flexico-laptop-5590 ~ $ python3
Python 3.12.0 (main, Oct 24 2023, 11:47:45) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()