Yes I could do that, thank you.
(However, it must be set to "keep" I think, not "0", according to man yum.conf).


Le 23 février 2012 19:13, T.C. Hollingsworth <tchollingsworth@gmail.com> a écrit :
On Thu, Feb 23, 2012 at 11:07 AM, enclair <wifienclair@gmail.com> wrote:
> Hi,
>
> I have these three kernels: 3.1.9, 3.2.5 and 3.2.6
> There is a new kernel in -updates (3.2.7).
> If I update to the new kernel, yum will want to remove 3.1.9.
> Is there a possibility to set up yum to keep the older kernel (3.1.9) and to
> remove 3.2.5 instead (the middle one)?
> (There is the possibility to remove the middle kernel before each updates,
> but it's not really convenient).

You could change the installonly_limit in /etc/yum.conf.  If you set
it to 0, yum won't remove any kernels when a new one is installed.
You could then remove unwanted ones manually at your convenience.

-T.C.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org