LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Are there any distro's that do automatic (package) updates? (https://www.linuxquestions.org/questions/linux-newbie-8/are-there-any-distros-that-do-automatic-package-updates-4175606986/)

lighter973 05-30-2017 12:22 PM

Are there any distro's that do automatic (package) updates?
 
Like Windows update, I suppose. but with minimal or no user interaction.

scasey 05-30-2017 12:37 PM

I'm sure that CentOS (and RHEL) can do automatic updates. I suspect all repos have that capability, but don't know for sure.

Habitual 05-30-2017 12:41 PM

https://help.ubuntu.com/lts/servergu...c-updates.html

https://opensource.com/life/16/10/ho...ical-questions

isometric 05-30-2017 04:42 PM

openSUSE + KDE.

sundialsvcs 05-30-2017 05:21 PM

"Automatic updates" are a common feature, as are updates which only apply "security updates" automatically. A third choice is pooled management of a group of machines.

ardvark71 05-30-2017 05:26 PM

Quote:

Originally Posted by scasey (Post 5717062)
I'm sure that CentOS (and RHEL) can do automatic updates. I suspect all repos have that capability, but don't know for sure.

Hi....

It looks like you can (update RHEL/CentOS automatically) with the instructions offered here. :)

Regards...

jamison20000e 05-30-2017 07:08 PM

Hi.
 
Automatic security updated are no problem with Linux (eg https://cdimage.debian.org/cdimage/u...y-live-builds/) but if you set all to update where it would normally ask: are you sure, updating this app will cause conflicts so we will have to remove 79 others... :doh:

jamison20000e 05-30-2017 07:18 PM

The one I posted (Debian) does this automatically, https://s1.postimg.org/hy625qs5r/Scr...530_191303.png think it asked on install tho that was so long ago now... have fun! :hattip:

r3sistance 05-31-2017 08:12 AM

Most distributions have package managers that can be run in batch scripts, via say cronjobs.

BW-userx 05-31-2017 08:15 AM

can not one write a script then slap it into CRON and done?
slackwhere does this kind of thing - alien Bob I think wrote a script just for that purpose to be used in Slack. If it can be done in Slack then I see no reason it cannot be done elsewhere.

Just write the commands to pull of the repo and update -

:doh: didn't read that post above me before writing this.

now it is a repeat - but then that just makes two that agree with this method as an idea.

rokytnji 05-31-2017 08:42 AM

Quote:

Originally Posted by isometric (Post 5717140)
openSUSE + KDE.

https://www.youtube.com/watch?v=fyl5oTTurig

joe_2000 05-31-2017 10:29 AM

Debian has a package for this called unattended-upgrades.

It allows you to configure what types of packages should be updated automatically. (Only security, or also others...)

I find this preferable to self written scripts / cron jobs because you avoid the risk of getting stuck in prompts for confirmation etc.

See debian wiki for more detailed info.


All times are GMT -5. The time now is 06:25 AM.