Comment 5 for bug 1906364

Revision history for this message
sascha arthur (sarthur) wrote : Re: unattended-upgrade still restarts blacklisted daemons

Sorry but im not really on your side here and it also doesnt really solve the problem.

I added docker.io to the blacklist because i want to take care manually about the upgrades, it should leave in any case this package alone.

Adding here dependencies (containerd) for the packages will never solve the issue, also i have to maintain this list, because dependencies (at least in theorie) could change over time.

Just to prevent docker.io from restart i have to add a huge set of packages (out of the list here https://packages.ubuntu.com/focal/docker.io) to prevent it from updating.

On top i have to go through all of the first level packages, to check if it has dependencies on the next level, because those could trigger a restart of the first level package, which will chain on the package which i try to prevent.

As far as i get it currently, if unattended-upgrades is not considering dependencies of blacklisted packages, theres no way except building an incredibly huge list of packages which you dont want to update, and regulary recalculate this list, because of maybe changed dependencies..