mvo5 / unattended-upgrades

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

Please document when updates are downloaded when in InstallOnShutdown is used #342

Open Yvan-Masson opened 1 year ago

Yvan-Masson commented 1 year ago

Hi,

Could you document, both in /etc/apt/apt.conf.d/50unattended-upgrades and /usr/share/doc/unattended-upgrades/README.md.gz, nearby option Unattended-Upgrade::InstallOnShutdown, when are updates downloaded in this mode? Is this when apt-daily.service runs or when system shutdowns?

This is important because if packages are downloaded during normal use, admin would probably use Acquire::http::Dl-Limit to keep bandwidth for user, but in the other case we probably want to download updates as fast as possible so that the user does not wait too long that his/her computer shutdowns.

Regards, Yvan

Yvan-Masson commented 1 year ago

I tried to understand a bit more by myself. If I am not wrong, packages download can be done at two different times:

Am I correct?