Re: Yum Kernel Solution

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

 



On Wed, 26 Jan 2005 22:33:24 -0200, Vinicius <cviniciusm@xxxxxxxxxxxx> wrote:
> Lee Tambiah escreveu:
> > So yum avoids updating your kernel, do the following.
> >
> > 1. Open terminal.
> > 2. Log in as Super User, Su -
> > 3. enter: cd /etc/
> > 4. enter: ls yum.conf
> > 5. yum.conf should appear
> > 6. enter: gedit yum.conf or emacs yum.conf depending on your editor.
> > 7. The following should be displayed:
> >
> > [main]
> >
> > cachedir=/var/cache/yum
> > debuglevel=2
> > logfile=/var/log/yum.log
> > pkgpolicy=newest
> > distroverpkg=redhat-release
> > tolerant=1
> > exactarch=1
> > retries=20
> > obsoletes=1
> > gpgcheck=1
> >
> > # PUT YOUR REPOS HERE OR IN separate files named file.repo
> > # in /etc/yum.repos.d
> >
> > 8. Below [main] add the following:-
> > exclude=kernel
> > 9. Save and exit.
> > 10. Now yum will not update your kernel.
> >
> >
> >
> > Regards
> >
> > L Tambiah - Linux Enthusiast
> 
> Does this excludes kernel-utils too?
> 

No. If you want to exclude kernel-utils also, then add it to the
exclude line. The exclude line will accept wildcards though, so you
could simply change it to read the "exclude=kernel*" which will stop
updating kernel, kernel-utils, kernel-source, etc.


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

  Powered by Linux