this post was submitted on 04 Aug 2024
319 points (87.7% liked)

linuxmemes

20750 readers
296 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 1 month ago (3 children)

Windows doesn't in my experience, it's surprisingly robust.

But also I thought Linux distros normally keep the old Kernel around after an update so stuff like this doesn't cause a boot failure?

[–] 9point6 7 points 1 month ago

Yeah windows "cumulative update" upgrades for the past couple of years basically duplicate the whole system directory and apply the update to that leaving the existing one to roll back to if anything fails

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago)

Windows updates (and Windows Installer) are transactional. If the update or installation fails, it knows exactly how to revert back to the previous state.

Windows Installer supports this across multiple packages too - for example, a game might need some version of DirectX libraries which needs some version of the Visual C++ runtime (probably showing my age because I doubt games come bundled with DirectX any more). If one of the packages fails to install, it can handle rolling everything back. Linux can sometimes leave your system in a broken state when this happens, requiring you to manually resolve the issue - for example, on a Debian-based system if the postinst script for a package fails.

[–] [email protected] 1 points 1 month ago (1 children)

But also I thought Linux distros normally keep the old Kernel around after an update so stuff like this doesn’t cause a boot failure?

Arch has no concept of "previous package", so it doesn't do this.

You could install linux-lts (or one of the other alternative kernels) side by side with the linux package, so you always have a bootable fallback, but like most things on Arch it's not enforced.

[–] [email protected] 2 points 1 month ago

That's pretty wild, I guess arch is not meant to hold your hand at all so it makes sense.