How to keep kernel from upgrade?

Andrew Glen-Young aglenyoung at gmail.com
Fri Oct 19 12:22:49 UTC 2007


On 19/10/2007, aries <aries1998 at gmail.com> wrote:
> I use make-kpkg to create a kernel deb called linux-image-2.6.22.14-digiman
> , and install it use the dpkg .
> Now the menu.lst have two kernel entries: linux-2.6.22-14-generic  and
> linux-image-2.6.22.14-digiman
>
> what i mean is just preventing linux-image/linux-header from upgrade, unless
> i do it manually(with dpkg) but not apt-get .
>

I think what you want is known as 'apt-pinning'. Check the
apt_preferences(5) man page to show you how to do this.

Whether this is a good idea is left up to you ;-)

- A.




More information about the ubuntu-users mailing list