Re: disabling kernel updates

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

 



---- Scott Berry <sberry@xxxxxxxxxxx> wrote: 
> How do I disable kernel updates in apt-get and yum so no newer kernels can be downloaded but yet if I want to install a kernel I can actually enable downloading it myself?  Also what would the syntax look like to enable a kernel download through apt-get?  Thanks for the help.
> 
> Scott
To disable updates of a package using yum add an exclude line in the /etc/yum.conf file.  For example

exclude=kernel*

I believe this should work.  I don't know if doing a 

yum -y update kernel

will force an update.  I don't know about apt-get, but I assume it should have something similar.  With yum you can also provide the exclude on the command line.

Paolo


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux