hendry
Posts: 7
Joined: Wed Jul 31, 2013 2:58 am
Location: Singapore

OS that keeps itself updated?

Tue Nov 15, 2022 5:28 am

IIUC https://www.raspberrypi.com/documentati ... erry-pi-os requires manual updates.

Is there a system like Google Chrome OS for the Pi that keep itself automatically up to date?

I'm even curious if there is some vendor offering this as a managed service.

Many thanks,

User avatar
kerry_s
Posts: 4881
Joined: Thu Jan 30, 2020 7:14 pm

Re: OS that keeps itself updated?

Tue Nov 15, 2022 6:10 am

auto updates is always a bad idea in linux.

MarkDH102
Posts: 595
Joined: Fri Feb 13, 2015 3:18 pm

Re: OS that keeps itself updated?

Tue Nov 15, 2022 7:00 am

auto updates is always a bad idea in linux.
Is there any chance you could give a brief explanation as to why?
With Windows, I always hold off updating because of potential issues and their updates are huge, take ages and are quite opaque.
But every day I update/upgrade my 64 bit PiOS. I've not been bitten by anything yet...apart from 'code', but I hold that off now.

User avatar
kerry_s
Posts: 4881
Joined: Thu Jan 30, 2020 7:14 pm

Re: OS that keeps itself updated?

Tue Nov 15, 2022 8:12 am

linux is dependency based, 1 hiccup and it can remove something important and leave the system unbootable.
happened lots back in the day. things changed got better.

as far as i know only ubuntu has auto set security updates to download and install, it's already giving issues. some disable after install, but most don't know and comeback to a broken system or software that was working no longer working.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 32136
Joined: Sat Jul 30, 2011 7:41 pm

Re: OS that keeps itself updated?

Tue Nov 15, 2022 8:32 am

I have never had an apt update fail on me on a Pi, or cause any issues. A while back I ha a problem with an Ubuntu system but its one I have continually upgraded for about 10 years so there was quite a lot of installed crud. Still working now after some tweaks.

The don't think to blanket statement its a bad idea holds up, certainly in the majority of use cases. Works for Android and ChromeOS which are both Linux kernel based, although not sure off the update system they use.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

User avatar
DougieLawson
Posts: 42313
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK

Re: OS that keeps itself updated?

Tue Nov 15, 2022 9:33 am

hendry wrote:
Tue Nov 15, 2022 5:28 am
Is there a system like Google Chrome OS for the Pi that keep itself automatically up to date?
Yes there is, but it's a bad idea.

sudo apt install unattended-upgrades
Languages using left-hand whitespace for syntax are ridiculous

DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.

The use of crystal balls and mind reading is prohibited.

User avatar
kerry_s
Posts: 4881
Joined: Thu Jan 30, 2020 7:14 pm

Re: OS that keeps itself updated?

Tue Nov 15, 2022 9:39 am

android/chrome os
they use a kind of atomic update like fedora silerblue or endless os.
totally specific build
Last edited by kerry_s on Tue Nov 15, 2022 9:41 am, edited 1 time in total.

AndrewPiEater
Posts: 168
Joined: Wed Jul 16, 2014 4:45 pm

Re: OS that keeps itself updated?

Tue Nov 15, 2022 9:40 am

I would say it depends on your circumstances. I wouldn't apply untested patches to any production system that is depended on for work. There's always the chance that it would affect the application you are hosting. Apply to test first. But on my development desktops, I wouldn't be too worried about it. Though the actual update process is a trivial few minutes for me.

User avatar
jahboater
Posts: 8450
Joined: Wed Feb 04, 2015 6:38 pm
Location: Wonderful West Dorset

Re: OS that keeps itself updated?

Tue Nov 15, 2022 11:05 am

In about 10 years of updating multiple Pi's every week or so, I cannot recall any serious problems after an update.

The only reason I don't schedule a weekly update with cron is that I am curious to see what's being updated, and also, depending on whats changed, I might, or might not, reboot the system. I presume a reboot is required to bring a new kernel into use for example, ditto systemd, libc and any other obviously memory resident software.

BigRedMailbox
Posts: 74
Joined: Sat Aug 20, 2022 10:37 pm

Re: OS that keeps itself updated?

Tue Nov 15, 2022 12:36 pm

This is entirely a skill-level thing - whether or not it makes sense to do it or not.

For mass-market OSes, like Chromebook and Windows (and, to some extent, Ubuntu Linux), it makes sense. For the rest of us, not so much.

pidd
Posts: 4411
Joined: Fri May 29, 2020 8:29 pm
Location: Wirral, UK

Re: OS that keeps itself updated?

Wed Nov 16, 2022 2:02 am

I've seen more problems from people that only sporadically update and get some distance behind. I update every time I log in an its never caused a significant problem other than some random issues with chromium some time ago.

One update that is coming up which I am wary of is losing dhcpcd, will the settings be transferred? ..... or did I dream that announcement?

Return to “General discussion”