Re: Saving more than two kernels

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

 



On 4/18/07, Kam Leo <kam.leo@xxxxxxxxx> wrote:
On 4/18/07, Richard A. Hogaboom <hogaboom@xxxxxxxxxx> wrote:
> Is there some simple way of setting yum to save previous versions
> of the kernel so that I can go back easily when new kernels cause
> problems? more than the two default, say maybe 5?
>

Been answered many times on this list.  I went back through my cache
of GMail and found an old message regarding this subject. Here's a
snippet:

"As you know, FC4 doesn't have this.

In FC5, there is a /etc/yum/pluginconf.d directory and a
installonlyn.conf file:

[main]
enabled=1
# this sets the number of package versions which are kept
tokeep=2

Fairly obviously, changing 1 to 0 will disable the plugin, and changing
2 to (say) 5 will mean you keep that many more kernels."


By the way, you might make use of the FAQ at Fedora Forums or Google Search.


The responses were to change the value of "tokeep". You can also
change "enable=1" to "enable=0" or totally remove the installonlyn
plugin.  (Go to the bottom of
http://docs.fedoraproject.org/yum/en/sn-yum-customizing.html for
details.)

After a quick exchange with the Red Hat QA/developer,
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237203 ,  I
realized the default installation of the installonlyn plugin is the
problem.  RHEL installations need the plugin. Fedora Core users do
not. Why? Because the lifespan of a FC distro is short (approximately
18 months). The number of kernel updates within that time is not
large. The majority of FC'ers will have upgraded to the next FC
release before their disk runs out of space from kernel installs. Just
disable or remove installonlyn. You are better off without it.


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

  Powered by Linux