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

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



On Thu, Feb 16, 2006 at 04:08:00PM -0800, riches@ms.washington.edu wrote:
> 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?
Hi Rich,
this command is an example of setting a state for dpkg (and thus
apt-get). Aptitude (in ncurses mode) has an easier way: find the package
and press '='. I suppose you could edit the dpkg state file manually but
who does that?
Cheers,
Kev
-- 
|  .''`.  == Debian GNU/Linux == |       my web site:       |
| : :' :      The  Universal     | debian.home.pipeline.com |
| `. `'      Operating System    | go to counter.li.org and |
|   `-    http://www.debian.org/ |    be counted! #238656   |
|     my keysever: pgp.mit.edu   |     my NPO: cfsg.org     |

Attachment: signature.asc
Description: Digital signature


Reply to: