apt-conf-70no-unattended 1.1 KB

1234567891011121314151617181920212223242526
  1. ## Based on pkg-manager-no-autoupdate by Patrick Schleizer <adrelanos@riseup.net>
  2. ## https://github.com/Whonix/pkg-manager-no-autoupdate
  3. ## Disable automatic update check APT::Periodic::Update-Package-Lists
  4. ## which is the Debian default in /etc/apt/apt.conf.d/10periodic.
  5. ##
  6. ## The execution time would be too predictable, thus make us fingerprintable.
  7. ##
  8. ## 20noperiodic comes after 10periodic in alphabet so it takes precedence.
  9. ##
  10. ## Quoted from the Debian Handbook
  11. ## http://debian-handbook.info/browse/wheezy/sect.apt-get.html
  12. ##
  13. ## "[...] Each directory represents a configuration file which is split over multiple
  14. ## files. In this sense, all of the files in /etc/apt/apt.conf.d/ are instructions
  15. ## for the configuration of APT. APT includes them in alphabetical order, so that the
  16. ## last ones can modify a configuration element defined in one of the first ones. [...]
  17. ##
  18. ## That changes take effect can be verified using:
  19. ## apt-config dump
  20. APT::Periodic::Update-Package-Lists "0";
  21. APT::Periodic::Download-Upgradeable-Packages "0";
  22. APT::Periodic::AutocleanInterval "0";
  23. APT::Periodic::Unattended-Upgrade "0";
  24. APT::Periodic::Enable "0";