mvo5 / unattended-upgrades

Automatic installation of security upgrades on apt based systems
GNU General Public License v2.0
278 stars 78 forks source link

unattended upgrade returns inconsistent exit code #338

Open 192dot opened 1 year ago

192dot commented 1 year ago

Issue

When unattended upgrade attempts to update a package that requires conffile prompt, and packages without the conffile prompts, it returns 1. When unattended upgrade attempts to update a package that requires conffile prompt, it will mark the package to blacklist, then it returns 0. This is causing flapping in monitoring alerts.

Versions Tested

Tag 2.9.1 (the latest) and earlier: contains this issue. Master: does not contain this issue.

To Recreate the error