Apt-get: how to check version number before installation?

Peter Garrett peter.garrett at optusnet.com.au
Mon Dec 10 23:42:01 UTC 2007


On Mon, 10 Dec 2007 18:13:15 -0500
Padraig <padraigrorry at gmail.com> wrote:

> On Dec 10, 2007 5:47 PM, Peter Garrett <peter.garrett at optusnet.com.au>
> wrote:
> 
> > > sudo apt-cache search packagename
> >
> > You don't need sudo here: apt-cache search packagename  is OK
> > But it won;t show versions...
> >
> > Try
> >
> > apt-cache madison packagename
> >
> > or
> >
> > apt-cache policy packagename
> 
> 
> Ahh, thanks.
> 
> Also, how about apt-cache show packagename?

Yes, that'll do it too :)
> 
> I like madison, seems the most compact and concise.

There must be a story behind "madison" - it seems pretty obscure! ;-)

Peter

-- 
"INX Is Not X" based on Ubuntu 7.04 Live CD: http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html




More information about the ubuntu-users mailing list