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.
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.