-
19th May 2019, 04:09 PM
#1
How to disable kernel upgrade, "take control" of kernel upgrading
Hello,
for a while now i've been working at disabling kernel upgrade for this fedora 29 system.
so far, one of the things i've attempted is editing:
/etc/yum.conf & /etc/dnf/dnf.conf and set installonly_limit to 2.
this doesn't seem to have done the job.
the goal is to take full control of the kernel upgrading task. find one that's stable for the machines and slow down the upgrading process.
from personal experience, kernel upgrading occasionally breaks computer functionality.
i'd like to slow down the process.
Thanks,
Hat tip
-
19th May 2019, 04:55 PM
#2
Re: How to disable kernel upgrade, "take control" of kernel upgrading
The setting you changed controls the number of old kernels you keep, essentially. I think what you're trying to do is stop kernel upgrades. This can be accomplished by editing the appropriate repo file and adding "exclude=kernel*" in the [base] section and also in the [updates] section.
In my (CentOS) instance, the file is /etc/yum.repos.d/CentOS-Base.repo - yours will of course will be named appropriately for dnf and for Fedora, if I guess correctly.
I hope this is helpful. I was forced to do this on one machine because of hardware - I am nervous about what's going to happen when some update for something else installs that depends on a newer kernel than I have ...
---
-
19th May 2019, 05:54 PM
#3
Re: How to disable kernel upgrade, "take control" of kernel upgrading
Adding "exclude=kernel*" to your /etc/dnf/dnf.conf file will accomplish what you want, as that applies to all enabled repos.
-
19th May 2019, 10:27 PM
#4
Re: How to disable kernel upgrade, "take control" of kernel upgrading
Hello! i've added the command "exclude=kernel*" to the dnf.conf file.
thank you.
Similar Threads
-
By lavajuice in forum Installation, Upgrades and Live Media
Replies: 4
Last Post: 16th September 2018, 01:16 AM
-
By JackC in forum Installation, Upgrades and Live Media
Replies: 1
Last Post: 4th June 2015, 01:59 PM
-
By HMSS013 in forum Using Fedora
Replies: 11
Last Post: 6th November 2009, 08:27 AM
-
By zerokoder in forum Installation, Upgrades and Live Media
Replies: 1
Last Post: 27th March 2009, 09:25 PM
-
By bdove in forum EOL (End Of Life) Versions
Replies: 6
Last Post: 10th July 2006, 03:06 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
[[template footer(Guest)]]