# This file understands the following apt configuration variables: # Values here are the default. # Create /etc/apt/apt.conf.d/10periodic file to set your preference. # # All of the n-days interval options also accept the suffixes # s for seconds, m for minutes, h for hours, d for days or # the "always" value to do the action for every job run, # which can be used with systemd OnCalendar overrides to # define custom schedules for the apt update/upgrade jobs. # # Dir "/"; # - RootDir for all configuration files # # Dir::Cache "var/cache/apt/"; # - Set apt package cache directory # # Dir::Cache::Archives "archives/"; # - Set package archive directory # # APT::Periodic::Enable "1"; # - Enable the update/upgrade script (0=disable) # # APT::Periodic::BackupArchiveInterval "0"; # - Backup after n-days if archive contents changed.(0=disable) # # APT::Periodic::BackupLevel "3"; # - Backup level.(0=disable), 1 is invalid. # # Dir::Cache::Backup "backup/"; # - Set periodic package backup directory # # APT::Archives::MaxAge "0"; (old, deprecated) # APT::Periodic::MaxAge "0"; (new) # - Set maximum allowed age of a cache package file. If a cache # package file is older it is deleted (0=disable) # # APT::Archives::MinAge "2"; (old, deprecated) # APT::Periodic::MinAge "2"; (new) # - Set minimum age of a package file. If a file is younger it # will not be deleted (0=disable). Useful to prevent races # and to keep backups of the packages for emergency. # # APT::Archives::MaxSize "0"; (old, deprecated) # APT::Periodic::MaxSize "0"; (new) # - Set maximum size of the cache in MB (0=disable). If the cache # is bigger, cached package files are deleted until the size # requirement is met (the oldest packages will be deleted # first). # APT::Periodic::Update-Package-Lists "1"; # - Do "apt-get update" automatically every n-days (0=disable) # APT::Periodic::Download-Upgradeable-Packages "1"; # - Do "apt-get upgrade --download-only" every n-days (0=disable) # # APT::Periodic::Download-Upgradeable-Packages-Debdelta "1"; # - Use debdelta-upgrade to download updates if available (0=disable) # # # APT::Periodic::Unattended-Upgrade "1"; # - Run the "unattended-upgrade" security upgrade script # every n-days (0=disabled) # Requires the package "unattended-upgrades" and will write # a log in /var/log/unattended-upgrades # APT::Periodic::AutocleanInterval "21"; # - Do "apt-get autoclean" every n-days (0=disable) # # APT::Periodic::CleanInterval "0"; # - Do "apt-get clean" every n-days (0=disable) # # APT::Periodic::Verbose "0"; # - Send report mail to root # 0: no report (or null string) # 1: progress report (actually any string) # 2: + command outputs (remove -qq, remove 2>/dev/null, add -d) # 3: + trace on