Comment by makeitdouble
13 hours ago
Don't you get out of forced updates if you set yourself regural update point ? (e.g. every Sunday night)
Most users, for better or worse, don't want any update ever, unless they wish for a specific feature. We're at a state where there's only once-in-10-years massive attacks exactly because of mandatory security updates that will be forced on the user if they have no intention to install it ever.
Maybe the 3rd largest tech company in the entire world could spend a little time figuring out how to hot patch their OS. Heaven forbid they actually innovate on something.
You can update without locking the computer. You know... like is done in Linux for a very long time. I have a nice memory of doing a full update of Kubuntu to the next version at the same time that I was playing a AAA game without issues or interruptions.
I hadn’t seen Linux do that. How do they fully do it without ever locking or rebooting the system?
When you run apt upgrade or pacman -Syu that's exactly what you're doing. The files are replaced on your drive while everything else continues running. Generally it won't affect execution of existing software, because they're all already loaded into memory, but some software might crash or get weird behavior as they try to access their files on the drive and those files have been updated, and newly launched programs will use different library versions than other programs which may cause weirdness. You still need to reboot in the end to stop running old stuff that's still in memory such as kernel or existing programs but it's a normal reboot without any extra delay. Canonical does provide Livepatch for Ubuntu Pro for servers that want to update the kernel with security updates without rebooting.
Fedora decided this isn't super stable so they actually went and implemented something similar to Windows updates called Offline updates, where updates are performed after a reboot in a special mode where you can't do anything with your computer while it updates for like 10 minutes, but they give you an option to disable this and do instant updates like described above instead.
I think the most interesting innovation are immutable distros, which handle updates entirely differently. They will build an updated image while the system continues running and make it ready so that next reboot will just boot into the updated image. It avoids the partially-updated-system instability entirely and it also makes reverting a broken update instant and easy because you can just boot into the old image (there's usually at least two images). This exists in Fedora Silverblue (OSTree) and Vanilla OS (ABRoot) and AFAIK Android also followed this update pattern with A/B partitions (although they now iterated on this slightly to squeeze a few extra gigabytes out of storage).
I honestly don't know why Windows still sticks to their antiquated offline update system when better options exist and everyone always complains about the way they do updates and they have billions of dollars at their disposal, but I guess lack of any real competition to Windows in the PC operating system market has led to such stagnation
1 reply →