Closed sgalam closed 2 years ago
No you should not be receiving an alert as your system is up-to-date with regards to the sources downloaded, unattended-upgrades can't know that the update failed. The update happens in apt-daily.service, and you need to monitor your journal if it errors out (timers do not send emails, unlike cron jobs).
Ok, thanks for pointing me to the right direction! I did some investigation about the issue. Apt update by design exit always with 0 also when warnings happens. APT developers introduced a feature to exit with an error code when there are warnings about one year ago. This is the merge request: https://salsa.debian.org/apt-team/apt/-/merge_requests/150 That feature was merged in main at release 2.1.16 at the end of 2021 so it's very new and not present on old debians.
Hi, I'm experiencing an issue with unattended-upgrade. I have a repo in my setup that is failing to update. This is the output of
apt update
:So the apt gitlab repository is broken as the key is expired.
Here is the
unattended-upgrades --dry-run --debug
output:As you can see, unattended-upgrades does not inform me about the problem. I should receive an alert by unattended-upgrades that the system is not up to date. What I am missing?
Thanks
Matteo