I believe enabling the following ugly systemd unit should mitigate the issue:
$ cat /etc/systemd/system/fix-apt-https.service [Unit] Description=Destroy broken apt fetches after resume After=sleep.target [Service] Type=oneshot ExecStart=-/usr/bin/killall https [Install] WantedBy=sleep.target -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2109495 Title: unattended-upgrades can (and regularly does) pause mid-update indefinitely with no error or feedback To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2109495/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
