LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2017, 12:22 PM   #1
lighter973
Member
 
Registered: Jan 2016
Posts: 34

Rep: Reputation: Disabled
Are there any distro's that do automatic (package) updates?


Like Windows update, I suppose. but with minimal or no user interaction.
 
Old 05-30-2017, 12:37 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,626

Rep: Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191
I'm sure that CentOS (and RHEL) can do automatic updates. I suspect all repos have that capability, but don't know for sure.
 
1 members found this post helpful.
Old 05-30-2017, 12:41 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

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

https://opensource.com/life/16/10/ho...ical-questions
 
1 members found this post helpful.
Old 05-30-2017, 04:42 PM   #4
isometric
LQ Newbie
 
Registered: May 2017
Location: Reykjavík, Iceland
Distribution: Debian, openSUSE, Fedora
Posts: 26

Rep: Reputation: Disabled
openSUSE + KDE.
 
Old 05-30-2017, 05:21 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,357
Blog Entries: 4

Rep: Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821
"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.
 
1 members found this post helpful.
Old 05-30-2017, 05:26 PM   #6
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by scasey View Post
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...
 
1 members found this post helpful.
Old 05-30-2017, 07:08 PM   #7
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,862
Blog Entries: 2

Rep: Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565
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...

Last edited by jamison20000e; 05-31-2017 at 10:48 AM.
 
Old 05-30-2017, 07:18 PM   #8
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,862
Blog Entries: 2

Rep: Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565
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!
 
1 members found this post helpful.
Old 05-31-2017, 08:12 AM   #9
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Most distributions have package managers that can be run in batch scripts, via say cronjobs.
 
1 members found this post helpful.
Old 05-31-2017, 08:15 AM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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 -

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.

Last edited by BW-userx; 05-31-2017 at 08:20 AM.
 
Old 05-31-2017, 08:42 AM   #11
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 22, MX 21 Fluxbox
Posts: 6,931
Blog Entries: 21

Rep: Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454Reputation: 3454
Quote:
Originally Posted by isometric View Post
openSUSE + KDE.
https://www.youtube.com/watch?v=fyl5oTTurig
 
Old 05-31-2017, 10:29 AM   #12
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
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.

Last edited by joe_2000; 05-31-2017 at 10:30 AM. Reason: fixed typo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rolling Release Distro with automatic updates? ncage Linux - Distributions 15 10-23-2014 06:22 PM
Automatic Updates? trainpic Ubuntu 1 06-23-2006 12:49 PM
Distro package updates/iso's Vesical Fedora 1 07-01-2004 07:13 AM
automatic updates sirjosi Linux - Newbie 2 01-13-2004 03:58 PM
Automatic Updates! tolis Red Hat 3 12-14-2003 01:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration