<---- template headericclude ----->
How to disable kernel upgrade, "take control" of kernel upgrading
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2019
    Location
    Broussard, La.
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post 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

  2. #2
    Join Date
    Apr 2009
    Location
    central NY, USA
    Posts
    1,651
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)

    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 ...
    ---

  3. #3
    PabloTwo's Avatar
    PabloTwo is online now "Registered User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,856
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)

    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.

  4. #4
    Join Date
    May 2019
    Location
    Broussard, La.
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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

  1. fc22 -> fc28 upgrade: "The operation would result in removing the booted kernel"
    By lavajuice in forum Installation, Upgrades and Live Media
    Replies: 4
    Last Post: 16th September 2018, 01:16 AM
  2. "Failed to start Load Kernel Modules." after Fedup Upgrade
    By JackC in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 4th June 2015, 01:59 PM
  3. Replies: 11
    Last Post: 6th November 2009, 08:27 AM
  4. "Kernel panic - not syncing:" problem after FC10 upgrade
    By zerokoder in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 27th March 2009, 09:25 PM
  5. 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
  •  
[[template footer(Guest)]]