Apply conversion script to all *.md files. authored by Alexander Hansen Færøy's avatar Alexander Hansen Færøy
== Debian ==
## Debian
1. Install the required packages
{{{
```
apt-get install unattended-upgrades apt-listchanges
}}}
1. Put the lines 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 lines below.
{{{
```
1. Put the lines 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 lines below.
```
Unattended-Upgrade::Origins-Pattern {
"origin=Debian,codename=${distro_codename},label=Debian-Security";
"origin=TorProject";
};
Unattended-Upgrade::Package-Blacklist {
};
}}}
```
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 content
{{{
APT::Periodic::Update-Package-Lists "1";
......@@ -27,6 +27,6 @@ APT::Periodic::Verbose "1";
Test your unattended-upgrades setup with the following command.
{{{
```
sudo unattended-upgrade -d
}}}
\ No newline at end of file
```
\ No newline at end of file