Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

After running apt-get upgrade, I get a list of the packages that will be upgraded. I would like to know the version number for one of these packages. (Not the current one but the one that will be installed).

How do I get the version number of the packages to be installed?

share|improve this question

2 Answers 2

up vote 36 down vote accepted
apt-cache show <packagename>

should include the full version numbers.

share|improve this answer

If you just want the version info without the description and such, use apt-cache policy instead of apt-cache show.

share|improve this answer

Your Answer

 
discard

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