My server, running Proxmox and various Debian VMs, has been up for 20 days without a reboot. I just forgot to do updates because it has been so rock solid. It is not an exaggeration that Debian is the most stable distro.

#Debian #Proxmox #SelfHosting #Homelab #GNULinux #GNU #Linux #Uptime

@terminaltilt
I have a cronjob installing updates and rebooting the system once per week on a similar setup (Raspberry Pi OS + Incus). Works also very reliably.

@mhier

That's a great idea!

PeriodicUpdates - Debian Wiki

@sihaha
Does unattended-upgrade allow a subsequent reboot? I want that weekly reboot in any case, and it totally makes sense to do that right after the upgrade finished. You certainly do not want it to interrupt, also you do not want to wait long after the upgrade, because you might be unnecessarily running with an old kernel etc.
@terminaltilt

@mhier @terminaltilt

TL,DR; yes

Long answer: RTFM ๐Ÿ˜‰

In 50unattended-upgrades you can specify
Unattended-Upgrade::Automatic-Reboot and even Unattended-Upgrade::Automatic-Reboot-Time

See https://github.com/mvo5/unattended-upgrades/blob/master/README.md#supported-options-reference

unattended-upgrades/README.md at master ยท mvo5/unattended-upgrades

Automatic installation of security upgrades on apt based systems - mvo5/unattended-upgrades

GitHub
@sihaha
Sorry, I had a quick glance at the manual before asking, but I must have overlooked it... ๐Ÿ˜‰ Thanks for the pointer!
@terminaltilt
@terminaltilt
Is there something like an atomic Debian distro?

@s31bz

No, surprisingly, I don't think there are any Atomic Debian projects. The closest ones I know of would be Vanilla OS and Endless OS.