3

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?

2
  • The = in your command seems suspicious. I'd expect a -.
    – Rinzwind
    May 6, 2011 at 10:56
  • 1
    I read manuals about it and there was equal sign = for version
    – fl00r
    May 6, 2011 at 10:57

1 Answer 1

6

The policy command of apt-cache displays the current installed and available versions.

apt-cache policy gedit
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .