Prevent Ubuntu from upgrading the kernel.
For example if you know your wifi card is tricky to get working and later kernels just don't work.
- Discover the current latest kernel currently installed. Its the one with the biggest number.
$ dpkg -l | grep linux-image
- Become root.
$ sudo su
- Pin that package and the generics.
$ echo linux-image-2.6.32-38-generic hold | dpkg --set-selections; $ echo linux-image-generic hold | dpkg --set-selections; $ echo linux-generic hold | dpkg --set-selections;
- Update and upgrade apt.
$ sudo aptitude update;
$ sudo aptitude safe-upgrade;