How can I change the number of kernels retained when updating in Fedora? The 2019 Stack...

rotate text in posterbox

Windows 10: How to Lock (not sleep) laptop on lid close?

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

Can the prologue be the backstory of your main character?

What LEGO pieces have "real-world" functionality?

How can I define good in a religion that claims no moral authority?

First use of “packing” as in carrying a gun

Finding the path in a graph from A to B then back to A with a minimum of shared edges

Is this wall load bearing? Blueprints and photos attached

Slither Like a Snake

Python - Fishing Simulator

Do working physicists consider Newtonian mechanics to be "falsified"?

Mortgage adviser recommends a longer term than necessary combined with overpayments

Keeping a retro style to sci-fi spaceships?

Can smartphones with the same camera sensor have different image quality?

Who or what is the being for whom Being is a question for Heidegger?

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

How can I protect witches in combat who wear limited clothing?

How to colour the US map with Yellow, Green, Red and Blue to minimize the number of states with the colour of Green

Didn't get enough time to take a Coding Test - what to do now?

Typeface like Times New Roman but with "tied" percent sign

What's the point in a preamp?

Why does the Event Horizon Telescope (EHT) not include telescopes from Africa, Asia or Australia?

Is every episode of "Where are my Pants?" identical?



How can I change the number of kernels retained when updating in Fedora?



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Fedora Linux VM guest: How to change screen resolutionHow to use kexec in Fedora to automatically use the newest installed kernel?How can I pin/unpin a specific kernel version/package in fedora 21?How to install kernel rc rawhide in Fedora?Grub does not pick up new kernels (was: How to update Fedora's kernel)Unknown error during fedora 24 mate initial updateSafe to remove kernel versions from previous Fedora installation?Repository Metadata and local packagesFedora kernel panic after system updateHow to install gcc 6 on Fedora 26





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







2















When running 'dnf update' the system will only keep 3 of the previous kernel versions installed. Once I attempt to install the 4th update then dnf wants to remove the oldest installed kernel. How can I increase or decrease the number of available/installed kernels?










share|improve this question































    2















    When running 'dnf update' the system will only keep 3 of the previous kernel versions installed. Once I attempt to install the 4th update then dnf wants to remove the oldest installed kernel. How can I increase or decrease the number of available/installed kernels?










    share|improve this question



























      2












      2








      2


      1






      When running 'dnf update' the system will only keep 3 of the previous kernel versions installed. Once I attempt to install the 4th update then dnf wants to remove the oldest installed kernel. How can I increase or decrease the number of available/installed kernels?










      share|improve this question
















      When running 'dnf update' the system will only keep 3 of the previous kernel versions installed. Once I attempt to install the 4th update then dnf wants to remove the oldest installed kernel. How can I increase or decrease the number of available/installed kernels?







      linux fedora dnf






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited yesterday









      gronostaj

      29.3k1472108




      29.3k1472108










      asked Apr 10 at 1:18









      JeffJeff

      9711




      9711






















          1 Answer
          1






          active

          oldest

          votes


















          2














          Edit the file '/etc/dnf/dnf.conf', changing the numeric value in installonly_limit=3 to a number of your choosing.



          Be aware that if you increase the number too high then you run the risk of filling up the /boot partition.






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1423559%2fhow-can-i-change-the-number-of-kernels-retained-when-updating-in-fedora%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            Edit the file '/etc/dnf/dnf.conf', changing the numeric value in installonly_limit=3 to a number of your choosing.



            Be aware that if you increase the number too high then you run the risk of filling up the /boot partition.






            share|improve this answer




























              2














              Edit the file '/etc/dnf/dnf.conf', changing the numeric value in installonly_limit=3 to a number of your choosing.



              Be aware that if you increase the number too high then you run the risk of filling up the /boot partition.






              share|improve this answer


























                2












                2








                2







                Edit the file '/etc/dnf/dnf.conf', changing the numeric value in installonly_limit=3 to a number of your choosing.



                Be aware that if you increase the number too high then you run the risk of filling up the /boot partition.






                share|improve this answer













                Edit the file '/etc/dnf/dnf.conf', changing the numeric value in installonly_limit=3 to a number of your choosing.



                Be aware that if you increase the number too high then you run the risk of filling up the /boot partition.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 10 at 1:18









                JeffJeff

                9711




                9711






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1423559%2fhow-can-i-change-the-number-of-kernels-retained-when-updating-in-fedora%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                    Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

                    looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...