Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
The = in your command seems suspicious. I'd expect a -. –  Rinzwind May 6 '11 at 10:56
1  
I read manuals about it and there was equal sign = for version –  fl00r May 6 '11 at 10:57

1 Answer 1

up vote 6 down vote accepted

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

apt-cache policy gedit
share|improve this answer
    
That's it. Thank you! –  fl00r May 6 '11 at 10:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.