Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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.

share|improve this answer
    
That did it! What could I have studied, or looked at in order to have known this important piece of information? I was basically looking at repository settings and repository cache. Of course, I am immensely gratified for your help. How this got deleted is a mystery. Something happened when /boot partition filled up on a kernel upgrade, and the system failed to boot to the new image. I had to grub back to a download image and clean up some old images. Possibly that is where it got deleted. I was careful to delete these images in groups, like abi, config, initrd, system and vmlinuz. –  Raymond Rider Dec 15 '13 at 5:14
    
Check this apt-cache rdepends linux-image-3.2.0-34-generic Then look for a package with the same name but without version. –  Braiam Dec 15 '13 at 8:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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