Changes between Version 8 and Version 9 of TorRelayGuide/DebianUbuntuUpdates


Ignore:
Timestamp:
Jan 5, 2018, 7:31:17 AM (11 months ago)
Author:
Dbryrtfbcbhgf
Comment:

More clarifications

Legend:

Unmodified
Added
Removed
Modified
  • TorRelayGuide/DebianUbuntuUpdates

    v8 v9  
    1 == Debian
    2 1. Install the required packages
     1== Debian ==
     2 1. Install the required packages
    33{{{
    44apt-get install unattended-upgrades apt-listchanges
    55}}}
    66
    7 2.  Put the configuration file `/etc/apt/apt.conf.d/50unattended-upgrades` in place. Optional, replace "root" with your email address to get reports on unattended upgrades logs
     7 2. Put the code below into the configuration file `/etc/apt/apt.conf.d/50unattended-upgrades`, everything that was originally inside the generated file can be removed '''before''' you add the new code below. `Optional, replace "root" with your email address to get reports on unattended upgrades logs.`
    88{{{
    99Unattended-Upgrade::Origins-Pattern {
     
    1818}}}
    1919
    20 3. If you want to automatically reboot add the following at the the end of the file `/etc/apt/apt.conf.d/50unattended-upgrades`:
     20 3. If you want to automatically reboot add the following at the the end of the file `/etc/apt/apt.conf.d/50unattended-upgrades`:
    2121{{{
    2222Unattended-Upgrade::Automatic-Reboot "true";
    2323}}}
    2424
    25 4. Create the file `/etc/apt/apt.conf.d/20auto-upgrades` by running the following command.
     25 4. Create the file `/etc/apt/apt.conf.d/20auto-upgrades` by running the following command.
    2626{{{
    2727sudo dpkg-reconfigure -plow unattended-upgrades
    2828}}}
    29 5. Add the following two lines to the new file at `/etc/apt/apt.conf.d/20auto-upgrades`:
     29 4. Add the following two lines to the new file at `/etc/apt/apt.conf.d/20auto-upgrades`:
    3030{{{
    3131APT::Periodic::Update-Package-Lists "1";
     
    3434APT::Periodic::Verbose "1";
    3535}}}
    36 Test your unattended-upgrades setup with the following command.
     36
     37Test your unattended-upgrades setup with the following command.
     38
    3739{{{
    3840sudo unattended-upgrade -d
    3941}}}
    4042The results from the above command should at a minimum contain the following allowed origins.
     43
    4144{{{
    4245Allowed origins are: ['origin=Debian,codename=xenial,label=Debian-Security', 'origin=TorProject']