[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to prevent kernel upgrade from apt-get?



On Thu, 16 Feb 2006, Nelson Castillo wrote:

On 2/16/06, riches@ms.washington.edu <riches@ms.washington.edu> wrote:

I am running a couple of OpenMOSIX clusters, and OM depends on kernel
2.4.26.  I would like to use a script to run:
   apt-get upgrade

on all of the cluster members, but "apt-get upgrade" wants to upgrade the
kernel:

Carl,

# echo "kernel-image-2.4.27-2-386 hold" | dpkg --set-selections

Check [1].

Regards.

[1] http://newbiedoc.sourceforge.net/system/kernel-pkg.html#HOLD-KERNEL-PKG


I've not been using debian for very long (actually, it's only here for the OpenMOSIX clusters). Are you saying that apt-get cannot be configured to prevent a kernel upgrade and that I should use dpkg, or are you saying that apt-get and dpkg use the same configuration files?

Carl

Carl G. Riches
Software Engineer
Department of Mathematics
Box 354350                      voice:     206-543-5082 or 206-616-3636
University of Washington        fax:       206-543-0397
Seattle, WA  98195-4350         internet:  riches@ms.washington.edu



Reply to: