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
    ·
    10 months 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
      ·
      10 months 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
        ·
        10 months 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

  • igorlogius@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    6
    ·
    edit-2
    10 months ago

    Kind of glad i dont have to worry about stuff like this anymore, but i do sympathize as a former debian user.

    • h3ndrik@feddit.de
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      edit-2
      10 months ago

      Moved to the countryside and stopped using computers? Or why don’t you need to worry about automatic updates? Are you the boss and other people do the worrying? Or do you use one of those immutable distros and now worry in a different way?

      • igorlogius@lemmy.world
        link
        fedilink
        English
        arrow-up
        11
        arrow-down
        1
        ·
        edit-2
        10 months ago

        well, with stuff like this i meant dpkg-reconfigure, since i switched to nixos where configuring and setting up basically means adding/editing a couple of lines in /etc/nixos/configuration.nix. For automatic system updates for example, i just had to add: system.autoUpgrade.enable = true; and done. Nicest way to configure and manage a system i’ve experienced yet.