How do I enable automatic updates?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
135
down vote

favorite
41












Update Manager is constantly offering me updates (e.g. security fixes, updates from PPAs).



How can I tell my Ubuntu installation to automatically download and install updates whenever they become available?







share|improve this question


















  • 1




    help.ubuntu.com/community/AutomaticSecurityUpdates
    – Alex Angas
    Jan 22 '15 at 2:40














up vote
135
down vote

favorite
41












Update Manager is constantly offering me updates (e.g. security fixes, updates from PPAs).



How can I tell my Ubuntu installation to automatically download and install updates whenever they become available?







share|improve this question


















  • 1




    help.ubuntu.com/community/AutomaticSecurityUpdates
    – Alex Angas
    Jan 22 '15 at 2:40












up vote
135
down vote

favorite
41









up vote
135
down vote

favorite
41






41





Update Manager is constantly offering me updates (e.g. security fixes, updates from PPAs).



How can I tell my Ubuntu installation to automatically download and install updates whenever they become available?







share|improve this question














Update Manager is constantly offering me updates (e.g. security fixes, updates from PPAs).



How can I tell my Ubuntu installation to automatically download and install updates whenever they become available?









share|improve this question













share|improve this question




share|improve this question








edited Jul 22 '14 at 19:53









Seth♦

32.4k24109157




32.4k24109157










asked Jul 28 '10 at 19:26









David Siegel

4,29092931




4,29092931







  • 1




    help.ubuntu.com/community/AutomaticSecurityUpdates
    – Alex Angas
    Jan 22 '15 at 2:40












  • 1




    help.ubuntu.com/community/AutomaticSecurityUpdates
    – Alex Angas
    Jan 22 '15 at 2:40







1




1




help.ubuntu.com/community/AutomaticSecurityUpdates
– Alex Angas
Jan 22 '15 at 2:40




help.ubuntu.com/community/AutomaticSecurityUpdates
– Alex Angas
Jan 22 '15 at 2:40










5 Answers
5






active

oldest

votes

















up vote
32
down vote



accepted










You can do this easily for security updates.



From System Settings open Update Manager. Click the 'Settings...' button, then on the 'Updates' tab, select the radio button 'Install security updates without confirmation.'



To automatically install all updates, see the answer below.






share|improve this answer


















  • 25




    -1 Disappointing this has selected since this is not answering the question correctly and is showing a thing everybody who know Ubuntu a little bit and pays attention in dialogs knows this already. The most upvoted answer is the right one.
    – redanimalwar
    May 2 '14 at 2:17

















up vote
158
down vote













Although it is not wrong or dangerous (see comments to this answer), using apt-get upgrade -y is not the best way to achieve this.



unattended-upgrades is one of the best practices of having automatic updates, especially for headless machines or servers!



You can set up unattended-upgrades pretty easily by typing this in a terminal:



sudo apt-get install unattended-upgrades
sudo dpkg-reconfigure unattended-upgrades


From the description:



 This package can download and install security upgrades automatically
and unattended, taking care to only install packages from the
configured APT source, and checking for dpkg prompts about
configuration file changes.





share|improve this answer


















  • 1




    But an important package for your server, web application, etc might not be an "essential" package and could potentially get removed.
    – Weboide
    Jul 31 '10 at 0:50






  • 1




    unattended-upgrades is preferable but apt-get -y upgrade is not wrong or dangerous at all. sudo apt-get upgrade will never (with or with out y, with or without explicit user approval) install any new package or uninstall any installed package. (From man apt-get: "under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed.") Remember, the -y flag can be used with other, potentially more dangerous commands than upgrade, such as dist-upgrade.
    – Eliah Kagan
    Jun 19 '12 at 4:12







  • 12




    This is lacking the info that you have to set APT::Periodic::Download-Upgradeable-Packages "0"; to 1 and should also set APT::Periodic::AutocleanInterval "0"; to something in days in /etc/apt/apt.conf.d/10periodic or not? Also you would not be do this instead of the GUI way if you would only security updates so you also have to uncomment // "$distro_id:$distro_codename-updates"; in /etc/apt/apt.conf.d/50unattended-upgrades to really have automatic upgrades for all code packages. This can then be extended to update even more.
    – redanimalwar
    May 2 '14 at 3:07






  • 2




    What happens with updates that require a server reboot?
    – Diskdrive
    Dec 16 '15 at 23:32






  • 4




    official docs talk about enabling notifications as well (via email), which i think is good for those who wish to know. help.ubuntu.com/lts/serverguide/automatic-updates.html
    – jargonjunkie
    Sep 16 '16 at 18:44


















up vote
37
down vote













In the Update Manager click the Settings button. This dialog will show up:



screenshot of Download and install automatically security updates



Select the "Download and install automatically". This will automatically install security updates. If you want to set this up for them remotely via, you can do this:



sudo apt-get install unattended-upgrades



If the package is installed already you can do:



sudo dpkg-reconfigure unattended-upgrades



to change it's behavior. Follow the prompts to enable the feature once you run the command. There's currently no graphical method to just set the entire system to update unattended for everything (you want to play it safe when it comes to automatic upgrades), but setting security updates automatically is a good idea.



Check out the pages for more information if you want to automate getting -updates and -backports:



  • https://help.ubuntu.com/community/AutomaticSecurityUpdates#Using_the_.22unattended-upgrades.22_package

  • How to enable silent automatic updates for any repository?

  • How do I enable automatic updates of all packages?





share|improve this answer





























    up vote
    22
    down vote













    Go to terminal, and enter:



    sudo dpkg-reconfigure unattended-upgrades


    Say "yes" to the prompt. You'll still be notified about "normal" updates, such as those that contain bugfixes, but security updates will be installed automatically.






    share|improve this answer



























      up vote
      9
      down vote













      I use apticron to get informed by mail if an update needs to be done.



      In your case, I would use cron-apt or unattended-upgrades to do the job of automagically updating your machines.






      share|improve this answer






















        Your Answer







        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "89"
        ;
        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',
        convertImagesToLinks: true,
        noModals: false,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













         

        draft saved


        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f9%2fhow-do-i-enable-automatic-updates%23new-answer', 'question_page');

        );

        Post as a guest






























        5 Answers
        5






        active

        oldest

        votes








        5 Answers
        5






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        32
        down vote



        accepted










        You can do this easily for security updates.



        From System Settings open Update Manager. Click the 'Settings...' button, then on the 'Updates' tab, select the radio button 'Install security updates without confirmation.'



        To automatically install all updates, see the answer below.






        share|improve this answer


















        • 25




          -1 Disappointing this has selected since this is not answering the question correctly and is showing a thing everybody who know Ubuntu a little bit and pays attention in dialogs knows this already. The most upvoted answer is the right one.
          – redanimalwar
          May 2 '14 at 2:17














        up vote
        32
        down vote



        accepted










        You can do this easily for security updates.



        From System Settings open Update Manager. Click the 'Settings...' button, then on the 'Updates' tab, select the radio button 'Install security updates without confirmation.'



        To automatically install all updates, see the answer below.






        share|improve this answer


















        • 25




          -1 Disappointing this has selected since this is not answering the question correctly and is showing a thing everybody who know Ubuntu a little bit and pays attention in dialogs knows this already. The most upvoted answer is the right one.
          – redanimalwar
          May 2 '14 at 2:17












        up vote
        32
        down vote



        accepted







        up vote
        32
        down vote



        accepted






        You can do this easily for security updates.



        From System Settings open Update Manager. Click the 'Settings...' button, then on the 'Updates' tab, select the radio button 'Install security updates without confirmation.'



        To automatically install all updates, see the answer below.






        share|improve this answer














        You can do this easily for security updates.



        From System Settings open Update Manager. Click the 'Settings...' button, then on the 'Updates' tab, select the radio button 'Install security updates without confirmation.'



        To automatically install all updates, see the answer below.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 31 '16 at 14:40









        Galgalesh

        4,87112352




        4,87112352










        answered Jul 28 '10 at 19:37









        thisfred

        65959




        65959







        • 25




          -1 Disappointing this has selected since this is not answering the question correctly and is showing a thing everybody who know Ubuntu a little bit and pays attention in dialogs knows this already. The most upvoted answer is the right one.
          – redanimalwar
          May 2 '14 at 2:17












        • 25




          -1 Disappointing this has selected since this is not answering the question correctly and is showing a thing everybody who know Ubuntu a little bit and pays attention in dialogs knows this already. The most upvoted answer is the right one.
          – redanimalwar
          May 2 '14 at 2:17







        25




        25




        -1 Disappointing this has selected since this is not answering the question correctly and is showing a thing everybody who know Ubuntu a little bit and pays attention in dialogs knows this already. The most upvoted answer is the right one.
        – redanimalwar
        May 2 '14 at 2:17




        -1 Disappointing this has selected since this is not answering the question correctly and is showing a thing everybody who know Ubuntu a little bit and pays attention in dialogs knows this already. The most upvoted answer is the right one.
        – redanimalwar
        May 2 '14 at 2:17












        up vote
        158
        down vote













        Although it is not wrong or dangerous (see comments to this answer), using apt-get upgrade -y is not the best way to achieve this.



        unattended-upgrades is one of the best practices of having automatic updates, especially for headless machines or servers!



        You can set up unattended-upgrades pretty easily by typing this in a terminal:



        sudo apt-get install unattended-upgrades
        sudo dpkg-reconfigure unattended-upgrades


        From the description:



         This package can download and install security upgrades automatically
        and unattended, taking care to only install packages from the
        configured APT source, and checking for dpkg prompts about
        configuration file changes.





        share|improve this answer


















        • 1




          But an important package for your server, web application, etc might not be an "essential" package and could potentially get removed.
          – Weboide
          Jul 31 '10 at 0:50






        • 1




          unattended-upgrades is preferable but apt-get -y upgrade is not wrong or dangerous at all. sudo apt-get upgrade will never (with or with out y, with or without explicit user approval) install any new package or uninstall any installed package. (From man apt-get: "under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed.") Remember, the -y flag can be used with other, potentially more dangerous commands than upgrade, such as dist-upgrade.
          – Eliah Kagan
          Jun 19 '12 at 4:12







        • 12




          This is lacking the info that you have to set APT::Periodic::Download-Upgradeable-Packages "0"; to 1 and should also set APT::Periodic::AutocleanInterval "0"; to something in days in /etc/apt/apt.conf.d/10periodic or not? Also you would not be do this instead of the GUI way if you would only security updates so you also have to uncomment // "$distro_id:$distro_codename-updates"; in /etc/apt/apt.conf.d/50unattended-upgrades to really have automatic upgrades for all code packages. This can then be extended to update even more.
          – redanimalwar
          May 2 '14 at 3:07






        • 2




          What happens with updates that require a server reboot?
          – Diskdrive
          Dec 16 '15 at 23:32






        • 4




          official docs talk about enabling notifications as well (via email), which i think is good for those who wish to know. help.ubuntu.com/lts/serverguide/automatic-updates.html
          – jargonjunkie
          Sep 16 '16 at 18:44















        up vote
        158
        down vote













        Although it is not wrong or dangerous (see comments to this answer), using apt-get upgrade -y is not the best way to achieve this.



        unattended-upgrades is one of the best practices of having automatic updates, especially for headless machines or servers!



        You can set up unattended-upgrades pretty easily by typing this in a terminal:



        sudo apt-get install unattended-upgrades
        sudo dpkg-reconfigure unattended-upgrades


        From the description:



         This package can download and install security upgrades automatically
        and unattended, taking care to only install packages from the
        configured APT source, and checking for dpkg prompts about
        configuration file changes.





        share|improve this answer


















        • 1




          But an important package for your server, web application, etc might not be an "essential" package and could potentially get removed.
          – Weboide
          Jul 31 '10 at 0:50






        • 1




          unattended-upgrades is preferable but apt-get -y upgrade is not wrong or dangerous at all. sudo apt-get upgrade will never (with or with out y, with or without explicit user approval) install any new package or uninstall any installed package. (From man apt-get: "under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed.") Remember, the -y flag can be used with other, potentially more dangerous commands than upgrade, such as dist-upgrade.
          – Eliah Kagan
          Jun 19 '12 at 4:12







        • 12




          This is lacking the info that you have to set APT::Periodic::Download-Upgradeable-Packages "0"; to 1 and should also set APT::Periodic::AutocleanInterval "0"; to something in days in /etc/apt/apt.conf.d/10periodic or not? Also you would not be do this instead of the GUI way if you would only security updates so you also have to uncomment // "$distro_id:$distro_codename-updates"; in /etc/apt/apt.conf.d/50unattended-upgrades to really have automatic upgrades for all code packages. This can then be extended to update even more.
          – redanimalwar
          May 2 '14 at 3:07






        • 2




          What happens with updates that require a server reboot?
          – Diskdrive
          Dec 16 '15 at 23:32






        • 4




          official docs talk about enabling notifications as well (via email), which i think is good for those who wish to know. help.ubuntu.com/lts/serverguide/automatic-updates.html
          – jargonjunkie
          Sep 16 '16 at 18:44













        up vote
        158
        down vote










        up vote
        158
        down vote









        Although it is not wrong or dangerous (see comments to this answer), using apt-get upgrade -y is not the best way to achieve this.



        unattended-upgrades is one of the best practices of having automatic updates, especially for headless machines or servers!



        You can set up unattended-upgrades pretty easily by typing this in a terminal:



        sudo apt-get install unattended-upgrades
        sudo dpkg-reconfigure unattended-upgrades


        From the description:



         This package can download and install security upgrades automatically
        and unattended, taking care to only install packages from the
        configured APT source, and checking for dpkg prompts about
        configuration file changes.





        share|improve this answer














        Although it is not wrong or dangerous (see comments to this answer), using apt-get upgrade -y is not the best way to achieve this.



        unattended-upgrades is one of the best practices of having automatic updates, especially for headless machines or servers!



        You can set up unattended-upgrades pretty easily by typing this in a terminal:



        sudo apt-get install unattended-upgrades
        sudo dpkg-reconfigure unattended-upgrades


        From the description:



         This package can download and install security upgrades automatically
        and unattended, taking care to only install packages from the
        configured APT source, and checking for dpkg prompts about
        configuration file changes.






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 2 '14 at 22:48

























        answered Jul 28 '10 at 23:09









        Weboide

        6,24192837




        6,24192837







        • 1




          But an important package for your server, web application, etc might not be an "essential" package and could potentially get removed.
          – Weboide
          Jul 31 '10 at 0:50






        • 1




          unattended-upgrades is preferable but apt-get -y upgrade is not wrong or dangerous at all. sudo apt-get upgrade will never (with or with out y, with or without explicit user approval) install any new package or uninstall any installed package. (From man apt-get: "under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed.") Remember, the -y flag can be used with other, potentially more dangerous commands than upgrade, such as dist-upgrade.
          – Eliah Kagan
          Jun 19 '12 at 4:12







        • 12




          This is lacking the info that you have to set APT::Periodic::Download-Upgradeable-Packages "0"; to 1 and should also set APT::Periodic::AutocleanInterval "0"; to something in days in /etc/apt/apt.conf.d/10periodic or not? Also you would not be do this instead of the GUI way if you would only security updates so you also have to uncomment // "$distro_id:$distro_codename-updates"; in /etc/apt/apt.conf.d/50unattended-upgrades to really have automatic upgrades for all code packages. This can then be extended to update even more.
          – redanimalwar
          May 2 '14 at 3:07






        • 2




          What happens with updates that require a server reboot?
          – Diskdrive
          Dec 16 '15 at 23:32






        • 4




          official docs talk about enabling notifications as well (via email), which i think is good for those who wish to know. help.ubuntu.com/lts/serverguide/automatic-updates.html
          – jargonjunkie
          Sep 16 '16 at 18:44













        • 1




          But an important package for your server, web application, etc might not be an "essential" package and could potentially get removed.
          – Weboide
          Jul 31 '10 at 0:50






        • 1




          unattended-upgrades is preferable but apt-get -y upgrade is not wrong or dangerous at all. sudo apt-get upgrade will never (with or with out y, with or without explicit user approval) install any new package or uninstall any installed package. (From man apt-get: "under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed.") Remember, the -y flag can be used with other, potentially more dangerous commands than upgrade, such as dist-upgrade.
          – Eliah Kagan
          Jun 19 '12 at 4:12







        • 12




          This is lacking the info that you have to set APT::Periodic::Download-Upgradeable-Packages "0"; to 1 and should also set APT::Periodic::AutocleanInterval "0"; to something in days in /etc/apt/apt.conf.d/10periodic or not? Also you would not be do this instead of the GUI way if you would only security updates so you also have to uncomment // "$distro_id:$distro_codename-updates"; in /etc/apt/apt.conf.d/50unattended-upgrades to really have automatic upgrades for all code packages. This can then be extended to update even more.
          – redanimalwar
          May 2 '14 at 3:07






        • 2




          What happens with updates that require a server reboot?
          – Diskdrive
          Dec 16 '15 at 23:32






        • 4




          official docs talk about enabling notifications as well (via email), which i think is good for those who wish to know. help.ubuntu.com/lts/serverguide/automatic-updates.html
          – jargonjunkie
          Sep 16 '16 at 18:44








        1




        1




        But an important package for your server, web application, etc might not be an "essential" package and could potentially get removed.
        – Weboide
        Jul 31 '10 at 0:50




        But an important package for your server, web application, etc might not be an "essential" package and could potentially get removed.
        – Weboide
        Jul 31 '10 at 0:50




        1




        1




        unattended-upgrades is preferable but apt-get -y upgrade is not wrong or dangerous at all. sudo apt-get upgrade will never (with or with out y, with or without explicit user approval) install any new package or uninstall any installed package. (From man apt-get: "under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed.") Remember, the -y flag can be used with other, potentially more dangerous commands than upgrade, such as dist-upgrade.
        – Eliah Kagan
        Jun 19 '12 at 4:12





        unattended-upgrades is preferable but apt-get -y upgrade is not wrong or dangerous at all. sudo apt-get upgrade will never (with or with out y, with or without explicit user approval) install any new package or uninstall any installed package. (From man apt-get: "under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed.") Remember, the -y flag can be used with other, potentially more dangerous commands than upgrade, such as dist-upgrade.
        – Eliah Kagan
        Jun 19 '12 at 4:12





        12




        12




        This is lacking the info that you have to set APT::Periodic::Download-Upgradeable-Packages "0"; to 1 and should also set APT::Periodic::AutocleanInterval "0"; to something in days in /etc/apt/apt.conf.d/10periodic or not? Also you would not be do this instead of the GUI way if you would only security updates so you also have to uncomment // "$distro_id:$distro_codename-updates"; in /etc/apt/apt.conf.d/50unattended-upgrades to really have automatic upgrades for all code packages. This can then be extended to update even more.
        – redanimalwar
        May 2 '14 at 3:07




        This is lacking the info that you have to set APT::Periodic::Download-Upgradeable-Packages "0"; to 1 and should also set APT::Periodic::AutocleanInterval "0"; to something in days in /etc/apt/apt.conf.d/10periodic or not? Also you would not be do this instead of the GUI way if you would only security updates so you also have to uncomment // "$distro_id:$distro_codename-updates"; in /etc/apt/apt.conf.d/50unattended-upgrades to really have automatic upgrades for all code packages. This can then be extended to update even more.
        – redanimalwar
        May 2 '14 at 3:07




        2




        2




        What happens with updates that require a server reboot?
        – Diskdrive
        Dec 16 '15 at 23:32




        What happens with updates that require a server reboot?
        – Diskdrive
        Dec 16 '15 at 23:32




        4




        4




        official docs talk about enabling notifications as well (via email), which i think is good for those who wish to know. help.ubuntu.com/lts/serverguide/automatic-updates.html
        – jargonjunkie
        Sep 16 '16 at 18:44





        official docs talk about enabling notifications as well (via email), which i think is good for those who wish to know. help.ubuntu.com/lts/serverguide/automatic-updates.html
        – jargonjunkie
        Sep 16 '16 at 18:44











        up vote
        37
        down vote













        In the Update Manager click the Settings button. This dialog will show up:



        screenshot of Download and install automatically security updates



        Select the "Download and install automatically". This will automatically install security updates. If you want to set this up for them remotely via, you can do this:



        sudo apt-get install unattended-upgrades



        If the package is installed already you can do:



        sudo dpkg-reconfigure unattended-upgrades



        to change it's behavior. Follow the prompts to enable the feature once you run the command. There's currently no graphical method to just set the entire system to update unattended for everything (you want to play it safe when it comes to automatic upgrades), but setting security updates automatically is a good idea.



        Check out the pages for more information if you want to automate getting -updates and -backports:



        • https://help.ubuntu.com/community/AutomaticSecurityUpdates#Using_the_.22unattended-upgrades.22_package

        • How to enable silent automatic updates for any repository?

        • How do I enable automatic updates of all packages?





        share|improve this answer


























          up vote
          37
          down vote













          In the Update Manager click the Settings button. This dialog will show up:



          screenshot of Download and install automatically security updates



          Select the "Download and install automatically". This will automatically install security updates. If you want to set this up for them remotely via, you can do this:



          sudo apt-get install unattended-upgrades



          If the package is installed already you can do:



          sudo dpkg-reconfigure unattended-upgrades



          to change it's behavior. Follow the prompts to enable the feature once you run the command. There's currently no graphical method to just set the entire system to update unattended for everything (you want to play it safe when it comes to automatic upgrades), but setting security updates automatically is a good idea.



          Check out the pages for more information if you want to automate getting -updates and -backports:



          • https://help.ubuntu.com/community/AutomaticSecurityUpdates#Using_the_.22unattended-upgrades.22_package

          • How to enable silent automatic updates for any repository?

          • How do I enable automatic updates of all packages?





          share|improve this answer
























            up vote
            37
            down vote










            up vote
            37
            down vote









            In the Update Manager click the Settings button. This dialog will show up:



            screenshot of Download and install automatically security updates



            Select the "Download and install automatically". This will automatically install security updates. If you want to set this up for them remotely via, you can do this:



            sudo apt-get install unattended-upgrades



            If the package is installed already you can do:



            sudo dpkg-reconfigure unattended-upgrades



            to change it's behavior. Follow the prompts to enable the feature once you run the command. There's currently no graphical method to just set the entire system to update unattended for everything (you want to play it safe when it comes to automatic upgrades), but setting security updates automatically is a good idea.



            Check out the pages for more information if you want to automate getting -updates and -backports:



            • https://help.ubuntu.com/community/AutomaticSecurityUpdates#Using_the_.22unattended-upgrades.22_package

            • How to enable silent automatic updates for any repository?

            • How do I enable automatic updates of all packages?





            share|improve this answer














            In the Update Manager click the Settings button. This dialog will show up:



            screenshot of Download and install automatically security updates



            Select the "Download and install automatically". This will automatically install security updates. If you want to set this up for them remotely via, you can do this:



            sudo apt-get install unattended-upgrades



            If the package is installed already you can do:



            sudo dpkg-reconfigure unattended-upgrades



            to change it's behavior. Follow the prompts to enable the feature once you run the command. There's currently no graphical method to just set the entire system to update unattended for everything (you want to play it safe when it comes to automatic upgrades), but setting security updates automatically is a good idea.



            Check out the pages for more information if you want to automate getting -updates and -backports:



            • https://help.ubuntu.com/community/AutomaticSecurityUpdates#Using_the_.22unattended-upgrades.22_package

            • How to enable silent automatic updates for any repository?

            • How do I enable automatic updates of all packages?






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 13 '17 at 12:23









            Community♦

            1




            1










            answered Oct 8 '10 at 2:29









            Jorge Castro

            34.5k104421614




            34.5k104421614




















                up vote
                22
                down vote













                Go to terminal, and enter:



                sudo dpkg-reconfigure unattended-upgrades


                Say "yes" to the prompt. You'll still be notified about "normal" updates, such as those that contain bugfixes, but security updates will be installed automatically.






                share|improve this answer
























                  up vote
                  22
                  down vote













                  Go to terminal, and enter:



                  sudo dpkg-reconfigure unattended-upgrades


                  Say "yes" to the prompt. You'll still be notified about "normal" updates, such as those that contain bugfixes, but security updates will be installed automatically.






                  share|improve this answer






















                    up vote
                    22
                    down vote










                    up vote
                    22
                    down vote









                    Go to terminal, and enter:



                    sudo dpkg-reconfigure unattended-upgrades


                    Say "yes" to the prompt. You'll still be notified about "normal" updates, such as those that contain bugfixes, but security updates will be installed automatically.






                    share|improve this answer












                    Go to terminal, and enter:



                    sudo dpkg-reconfigure unattended-upgrades


                    Say "yes" to the prompt. You'll still be notified about "normal" updates, such as those that contain bugfixes, but security updates will be installed automatically.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jul 28 '10 at 19:33









                    lfaraone

                    4,13011931




                    4,13011931




















                        up vote
                        9
                        down vote













                        I use apticron to get informed by mail if an update needs to be done.



                        In your case, I would use cron-apt or unattended-upgrades to do the job of automagically updating your machines.






                        share|improve this answer


























                          up vote
                          9
                          down vote













                          I use apticron to get informed by mail if an update needs to be done.



                          In your case, I would use cron-apt or unattended-upgrades to do the job of automagically updating your machines.






                          share|improve this answer
























                            up vote
                            9
                            down vote










                            up vote
                            9
                            down vote









                            I use apticron to get informed by mail if an update needs to be done.



                            In your case, I would use cron-apt or unattended-upgrades to do the job of automagically updating your machines.






                            share|improve this answer














                            I use apticron to get informed by mail if an update needs to be done.



                            In your case, I would use cron-apt or unattended-upgrades to do the job of automagically updating your machines.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited May 31 '17 at 9:25









                            rubo77

                            13.4k2691185




                            13.4k2691185










                            answered Jul 29 '10 at 4:15









                            ddeimeke

                            2,58711619




                            2,58711619



























                                 

                                draft saved


                                draft discarded















































                                 


                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f9%2fhow-do-i-enable-automatic-updates%23new-answer', 'question_page');

                                );

                                Post as a guest













































































                                Popular posts from this blog

                                pylint3 and pip3 broken

                                Missing snmpget and snmpwalk

                                How to enroll fingerprints to Ubuntu 17.10 with VFS491