1

I can see this is the latest kernel for Ubuntu 14.04:

http://packages.ubuntu.com/trusty/linux-image-3.13.0-37-generic

But, surprisingly, I cannot see anywhere exactly which day it was released on. Is there a way to discover that? Or is there an apt-get or similar command I can run? (I am hoping I can find this out without installing or downloading the package.)

3

In terms of just tracking what's available, if you can rely on your local repositories to do the work for you, it's quite easy. You can just use apt-cache to see what the current linux-image-generic meta-package points at. I've fluffed it up so it just returns the kernel version.

sudo apt-get update
apt-cache depends linux-image-generic | sed -n '2s/.*: //p'

Finding out the package date is a little harder. And more manual.

Pretty exhausting for an otherwise dull bit of information. It's easier to just:

sudo apt-get update
sudo apt-get upgrade

It'll upgrade the kernel if there's a newer version available.

  • Thanks; the middle bit of your answer was what I was after. It is no duller or less useful than the information that is easy to find about a package. The most recent EC2 ubuntu AMI, built on 20140927, has the previous kernel (but asks you to upgrade the kernel the first time you run apt-get upgrade), so it looks like something went wrong making the AMI. – Darren Cook Oct 22 '14 at 7:41
  • P.S. Or there is a reason the .37 kernel should not be used with Amazon EC2... – Darren Cook Oct 22 '14 at 7:43
2

You can check in this PPA the kernels for each Ubuntu release.

Hope it helps

  • Thanks, that would be ideal, but I couldn't work out how to relate the directory names to the kernel package version numbers. – Darren Cook Oct 22 '14 at 7:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.