I am currently on kernel 4.13.0-38-generic and I am happy to stay on the upgrade path, but I want to keep kernel 4.4.0-119-generic as-is (because virtualbox works for me on that one).

Using synaptic, I have locked the following.

  • linux-headers-4.4.0-119-generic
  • linux-image-4.4.0-119-generic
  • linux-image-extra-4.4.0-119-generic

Will that be sufficient or is there more that I need to do?


For virtualbox you should install DKMS package:

sudo apt-get install dkms

You should not pin kernel versions as they contain security and stability fixes! Meltdown & Spectre as examples.

Continue only if you are completely sure what you are doing.

For kernel packages pinning see my other answer.

If you understand what you are going to achieve (with lowering security, of course) - you should pin the following packages:

  • linux-headers-4.4.0-119
  • linux-headers-4.4.0-119-generic
  • linux-headers-generic
  • linux-image-4.4.0-119-generic
  • linux-image-extra-4.4.0-119-generic
  • linux-image-generic
  • linux-tools-4.4.0-119
  • linux-tools-4.4.0-119-generic
  • linux-libc-dev
  • linux-libc-dev:i386
  • linux-tools-common
  • linux-source
  • linux-source-4.4.0

To make Synaptic and APT pins consistent (see my other answer):

sudo ln -s /etc/apt/preferences.d/synaptic /var/lib/synaptic/preferences

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.