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

NoOp glgxg at sbcglobal.net
Tue Dec 11 18:53:57 UTC 2007


On 12/11/2007 07:53 AM, Derek Broughton wrote:

> 
> apt-cache policy <package>
> 
> is better.  It tells you exactly which versions are available at every
> repository in your sources.  It also helps explain why you're getting the
> wrong versions if you use apt pinning! E.G. (bella is my local cache -
> created with apt-move; /var/lib/dpkg/status should always be the currently
> installed version):
> 

Cool! Thanks for that.





More information about the ubuntu-users mailing list