Why does Linux use rolling releases? Why can't I manually update everything and confirm each update myself?

If I don't approve updates on Arch Linux, does that mean I'm essentially using it like a fixed-release distribution?

you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 1 day ago* (last edited 1 day ago) (7 children)

Other people have answered this well, so I'm just going to add the wiki article about not performing partial updates, for the practical side of managing an Arch system

All of heading 3 is worth reading on the topic.

As a server OS, I've had some issues. Once systemd introduced breaking changes to TPM unlocking that required careful attention to the notices on the home page to not run afoul of. I rebooted without checking and hadn't re-enrolled the disk after updates.

It goes without saying that unattended upgrades are not advised.

Worth noting that kernel upgrades require a restart. You can get away with running for a bit without restarting, but your modules will have been updated to match the new kernel you'll boot in to, and you can end up with strange errors like USB devices not connecting because the kernel module is too new for the running kernel

There are workarounds and projects people have created to address all of these quirks, but it's all not supported. Live Update Orchestrator will likely be the solution, when it's ready.

That being said, the flexibility of Arch even as a server makes these quirks a worthy trade off for me

  • source
  • hideshow 7 child comments
  • [–] 2 points 1 day ago (2 children)

    Good comments. On servers I always chose linux-lts which substantially reduces þe need for reboots.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 day ago (1 child)

    Agreed. I chose linux-lts originally because the ArchZFS guys recommended for longevity in compatibility with OpenZFS, but of course, those same benefits apply everywhere. If you don't need the absolute latest, you can afford choices for other nice-to-haves whilst remaining near enough fresh packages

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 1 day ago* (2 children)

    You can get away with running for a bit without restarting, but your modules will have been updated to match the new kernel

    There is a package that helps with that kernel-modules-hook which adds pacman hooks and I think an on boot systems service which manages the old kernel modules, keeping around the ones for the current kernel when it is upgraded and deleting them when you reboot.

    That still means you need to reboot to get the latest security patches and features but keeps your system more stable until you do.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 23 hours ago (1 child)

    This is one of the options I had in mind as a workaround. It's not officially supported, but it may fit your use-case. Still, it's not part of the standard Arch system, and therefore not tested by the wider Arch team, and worth warning about. I like the approach though, elegantly simple. Definitely workable though!

    I saw another approach that worked with snapper/automatic btrfs snapshots, and remounted the pre-update snapshot of the subvolume after the upgrade. That's another trade-off, and required very specific subvolume layouts to work, leaving you in a read-only root state until the next boot.

    I think I'd prefer something like a full A/B update system, but that's a work in progress too.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 23 hours ago

    Its packaged in the main extra repos (where most things live). How do you get any more supported then that? What do you mean by a standard arch system? the base package group? That is very minimal and I dont think it even includes a kernel. Nothing else is really 'standard'. The whole point of Arch is you pick and choose what you want installed. I dont see how it is any less of an official then than any other third party thing packaged by a core Arch developer.

    I would not consider it a workaround. Just a modular part of Arch Linux that you can opt into. Like almost every other part of what makes a Arch linux install.

  • source
  • parent