So I have had mixed results with unattended upgrades on Debian based distros. It sometimes works and sometimes doesn’t. It turns out that sometimes you need to enable it though dpkg-reconfigure unattended-upgrades

Problem solved

  • JustEnoughDucks@feddit.nl
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    1 year ago

    Not a fan od it. I had more of a problem with unattended upgrades at least weekly restarting my system even though I had restarts explicitely disabled.

    After a lot of “impossible” in the support forums saying “that would never happen” even after showing that it happened in flesh during the unattended upgrade, I uninstalled it and voila, I have only had a restart intentionally or by a crash.

    • Oisteink@feddit.nl
      link
      fedilink
      English
      arrow-up
      11
      ·
      1 year ago

      It is impossible that unattended-upgrades reboots without the Unattended-Upgrade::Automatic-Reboot flag set. Source: the function def reboot_if_requested_and_needed(): on line 1688 in the script.

      Probably your config was wrong

      • 𝒍𝒆𝒎𝒂𝒏𝒏@lemmy.one
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        Same, never had unattended upgrades trigger a reboot in all the years it’s been set up on my project servers.

        The only cause of reboots in my case has been power failures and dead UPSes lol