I am running kernel version: 2.6.35-27-generic
I want kernel version: 2.6.35-22-generic OR 2.6.35-25-generic
I have previously uninstalled both of the previous. A few scripts that I forgot to test (and worked in old kernels) no longer work in 35-27
I think .35-22 would be the best option
You should first check whether these versions are still in the repositories with:
sudo aptitude search linux-image-2.6.35-22-generic
(or 35-25 for the other version)If they are indeed still there, just install the one you want with:
sudo aptitude install linux-image-2.6.35-22-generic
otherwise, follow this link (for 2.6.35-22) or this (for 2.6.35-25)