Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm on Kubuntu 12.04 with lts-raring HWE stack. I'm running kernel low latency. A recent update replaced my low latency kernel with a slightly newer ( generic kernel. I wish to prevent this and to use only the low latency kernels. How would I do this?

I believe this information is required:

$ dpkg -s kxstudio-kernel-lowlatency
Package: kxstudio-kernel-lowlatency
Status: install ok installed
Priority: optional
Section: metapackages
Installed-Size: 26
Maintainer: falkTX <>
Architecture: all
Source: kxstudio-kernel
Version: 2.4~precise1
Depends: linux-lowlatency, linux-image-lowlatency, linux-headers-lowlatency
Description: The KXStudio kernels - Low-Latency
 This is a metapackage that provides the lowlatency kernel

I also wish to know exactly how to use apt-cache policy to verify that the installation candidates (for any kernel) are correct. The command below would apparently not show me when a generic kernel might supersede a low latency kernel.

$ apt-cache policy linux-lowlatency
  Version table:
 *** 0
        500 precise/main amd64 Packages
        100 /var/lib/dpkg/status 0
        500 precise-updates/universe amd64 Packages
        500 precise-security/universe amd64 Packages 0
        500 precise/universe amd64 Packages
share|improve this question
up vote 2 down vote accepted

sudo apt-get autoremove --purge linux-image-generic

If you don't ever want to use the pure -generic kernel image, then simply remove it. You might also have to separately remove the actual kernel image, as well as this meta-package. Just make sure you have a usable kernel image installed before removing some of them. Then apt will simply not update that which is not installed.

The -generic kernels do not supersede the -lowlatency kernels. However, the last kernel that was installed, becomes the default. You will still have the -lowlatency kernel installed, and you can still choose it within the grub boot menu, or even change it to be the default again.

share|improve this answer
Just an FYI - it looks like the lts-raring HWE stack installs linux-image-generic-lts-raring. For those running KX Studio with a low latency kernel and lts-raring, the package to remove would be linux-image-generic-lts-raring – MountainX Sep 29 '13 at 19:36

You might also want to get Grub customizer by Daniel Richter. It is a very handy little program that lets you specify what kernel you want to boot by default. It is a graphical interface that lets you configure the grub settings and entries.

You can get it easily

Open the terminal and run the following commands

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer

I think you will like this a lot

share|improve this answer

Your Answer


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.