1

How do I determine the kernel version that a package like linux-image-generic-lts-saucy will install? Basically I'd like to get what uname -r would report before I actually install this kernel so I can automate the configuration of grub.

Dane O'Connor
  • 235
  • 2
  • 9

1 Answers1

3

Run the below command on terminal,

apt-cache policy linux-image-generic-lts-saucy

It will show the linux-image-generic-lts-saucypackage along with it's version and some other details.

Avinash Raj
  • 77,204
  • 56
  • 214
  • 254
  • I think a cleaner way would be to simply look at the actual image package on which the dummy package depends i.e. `apt-cache depends linux-image-generic-lts-saucy` – steeldriver Feb 27 '14 at 01:39
  • Thanks, I used this to answer my similar question: http://askubuntu.com/questions/525217/how-do-i-get-the-real-package-name-and-version-for-a-pseudo-package – Harvey Sep 17 '14 at 20:08