I try to use
apt-cache search gedit
But there is no information about version.
I am trying to install gedit 2.30.4 (by default it is 3.x on Gnome 3). But there is no gedit with this version.
sudo apt-get install gedit=2.30.4
#=> Error
So how can I figure out which versions are in repo?
=
in your command seems suspicious. I'd expect a-
.=
for version