cdist-type__apt_unattended_upgrades - Man Page

automatic installation of updates


Install and configure unattended-upgrades package.

For more information see

Optional Multiple Parameters


Set options for unattended-upgrades. See examples.

Supported options with default values (as of 2020-01-17) are:

  • AutoFixInterruptedDpkg, default is "true"
  • MinimalSteps, default is "true"
  • InstallOnShutdown, default is "false"
  • Mail, default is "" (empty)
  • MailOnlyOnError, default is "false"
  • Remove-Unused-Kernel-Packages, default is "true"
  • Remove-New-Unused-Dependencies, default is "true"
  • Remove-Unused-Dependencies, default is "false"
  • Automatic-Reboot, default is "false"
  • Automatic-Reboot-WithUsers, default is "true"
  • Automatic-Reboot-Time, default is "02:00"
  • SyslogEnable, default is "false"
  • SyslogFacility, default is "daemon"
  • OnlyOnACPower, default is "true"
  • Skip-Updates-On-Metered-Connections, default is "true"
  • Verbose, default is "false"
  • Debug, default is "false"

Python regular expressions, matching packages to exclude from upgrading.


__apt_unattended_upgrades \
    --option Mail=root \
    --option MailOnlyOnError=true \
    --blacklist multipath-tools \
    --blacklist open-iscsi


Ander Punnar <ander-at-kvlt-dot-ee>


Copyright (C) 2020 Ander Punnar. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.


Jul 31, 2022 7.0.0 cdist