Atualizei recentemente de Jessie para Stretch e recebi uma nova versão do arquivo de configuração para unattended-upgrades
. Estranhamente, esta nova versão faz referência ao Debian em vez do Raspbian.
pi@kegerator:/etc/apt/apt.conf.d $ diff 50unattended-upgrades 50unattended-upgrades.ucf-old
10,12c10,12
< // c,component (eg, "main", "contrib", "non-free")
< // l,label (eg, "Debian", "Debian-Security")
< // o,origin (eg, "Debian", "Unofficial Multimedia Packages")
---
> // c,component (eg, "main", "crontrib", "non-free")
> // l,label (eg, "Raspbian", "Raspbian-Security")
> // o,origin (eg, "Raspbian", "Unofficial Multimedia Packages")
14c14
< // site (eg, "http.debian.net")
---
> // site (eg, "http.Raspbian.net")
20c20
< // derived from /etc/debian_version:
---
> // derived from /etc/Raspbian_version:
27,30c27
< // "o=Debian,n=jessie";
< // "o=Debian,n=jessie-updates";
< // "o=Debian,n=jessie-proposed-updates";
< // "o=Debian,n=jessie,l=Debian-Security";
---
> // "o=Raspbian,n=jessie";
36,39c33,34
< // "o=Debian,a=stable";
< // "o=Debian,a=stable-updates";
< // "o=Debian,a=proposed-updates";
< "origin=Debian,codename=${distro_codename},label=Debian-Security";
---
> // "o=Raspbian,a=stable";
>
85,87d79
< // Automatically reboot even if there are users currently logged in.
< //Unattended-Upgrade::Automatic-Reboot-WithUsers "true";
<
96,102d87
<
< // Enable logging to syslog. Default is False
< // Unattended-Upgrade::SyslogEnable "false";
<
< // Specify syslog facility. Default is daemon
< // Unattended-Upgrade::SyslogFacility "daemon";
<
Entre esse bug do Launchpad , esse problema no repositório de origem e vários tópicos do fórum que lamentam a ausência do Raspbian-security
rótulo, estou bastante confuso sobre qual deve ser a configuração 'correta'.
Alguém poderia compartilhar sua unattended-upgrades
configuração de trabalho para o Raspbian Stretch?
sudo unattended-upgrade -d
de wiki.debian.org/UnattendedUpgrades