Ubuntu – The kernel doesn’t update automatically

aptkernel

I have two servers running 12.04 LTS. #1 has upgraded to kernel 3.2.0-57. #2 is stuck on 3.2.0-34. #2 is getting all other package upgrades. BUT, the kernel is never upgraded. This is what I have researched:

  1. /etc/apt/sources.list are identical on both servers.
  2. The repository caches are identical, verified by: apt-cache search , and: dpkg -L linux-image.

I have done: sudo apt-get update on the faulty server.
I have done: sudo apt-get upgrade on the faulty server.

I have verified that the kernel is not "pinned" by the following:

apt-mark unhold linux-image-3.2.0-34-generic

The system replied:

linux-image-3.2.0-generic was already not hold

Why don't this system upgrade the kernel when it gets other packages without a problem? Aptitude is apparently working as other packages seem to update. The cache and source list are the same.

Best Answer

Why don't this system upgrade the kernel when it gets other packages without a problem?

Most likely because you (or somebody) removed the linux-generic metapackage. For the kernel update automatically this package is indispensable:

sudo apt-get install linux-generic

Now you will have automatic Kernel updates.