There's no easy way to downgrade tk
to 8.5 on 14.04, even if you install tk8.5
.
This method is not recommended as it's basically installing the 13.10 packages version on a 14.04 system.
First of all, to restore your system, the command to use will be:
sudo apt-get install blt python-tk
Now to downgrade to tk8.5:
Install tk8.5:
sudo apt-get install tk8.5
Download the following debian packages from the 13.10 repo (amd64 in this example but you can choose the i386 for a 32bit system):
Open a terminal where you downloaded the two .deb files and type:
sudo dpkg -i blt_2.4z-7_amd64.deb python-tk_2.7.4-0ubuntu1_amd64.deb
Now to check if the right version is available to your python interpreter:
$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
>>> Tkinter.TkVersion
8.5
>>> import platform
>>> platform.release()
'3.13.0-36-generic'
>>>
blt
andpython-tk
. – Sylvain Pineau Oct 06 '14 at 10:32