Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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.
apt-cache depends linux-image-generic-lts-saucy
Required, but never shown