Debian/UnattendedUpgrades: Packages kept back
I've been using unattended upgrades without any problems until now. However, for the second time, I'm encountering an issue where I end up with a summary stating that some packages were not installed or updated. Among other things, it tells me:
Package imagemagick is held back because a related package is held back or due to local apt_preferences(5).
However, when I run sudo apt full-upgrade, everything is up to date and the packages are installed. sudo apt-mark showhold also doesn’t list any packages. So why am I getting the message that packages were held back?
By default, unattended-upgrades installs only security updates. To change it to install 'normal' updates, you need to enable these, as explained e.g. in the Debian wiki
That's not my problem. I've customized the pattern so that all updates are installed, as long as they don't introduce new configurations—even for “regular” software. That works without any issues. The same goes for third-party repositories like ntfy or docker.
What I don't understand is the log file entry indicating that packages are being held back, even though they end up being installed anyway. I'd at least like to understand why.
Many thx for the hint with these both log files. I have checked them, but i couldn't found other processes installing the mentioned packages. There are only 2 manually invoked apt commands, to manually downgrade and later update wget, but that was a test from my own. I personally think that unattended-upgrades has complained about the kept packages, but lastly installed them.
Im using a 52unattended-upgrades-local file to overwrite the standard file with the following settings:
Maybe i have something missconfigured...
I would check the term.log/history.log files in the /var/log/apt folder to see if there's another process installing those updates.