wiki:TorRelayGuide/DebianUbuntuUpdates

Version 1 (modified by cypherpunks, 22 months ago) (diff)

initial version

  1. Install the required packages
    apt-get install unattended-upgrades apt-listchanges
    
  1. /etc/apt/apt.conf.d/50unattended-upgrades
    Unattended-Upgrade::Origins-Pattern {
            "origin=Debian,codename=${distro_codename},label=Debian-Security";
    	"origin=TorProject";
    };
    
    Unattended-Upgrade::Package-Blacklist {
    };
    
    Unattended-Upgrade::Mail "root";
    
  1. If you want to automatically reboot add the following at the the end of the file /etc/apt/apt.conf.d/50unattended-upgrades:
    Unattended-Upgrade::Automatic-Reboot "true";
    
  1. Create the file /etc/apt/apt.conf.d/20auto-upgrades with the following two lines:
    APT::Periodic::Update-Package-Lists "1";
    APT::Periodic::Unattended-Upgrade "1";