Ich habe kürzlich ein Upgrade von Jessie auf Stretch durchgeführt und eine neue Version der Konfigurationsdatei für erhalten unattended-upgrades
. Seltsamerweise verweist diese neue Version auf Debian anstelle von 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";
<
Zwischen diesem Launchpad-Fehler , diesem Problem im Quell-Repo und mehreren Forenthemen, die das Fehlen des Raspbian-security
Labels beklagen , bin ich ziemlich verwirrt darüber, wie die "richtige" Konfiguration aussehen sollte.
Könnte jemand seine Arbeitskonfiguration unattended-upgrades
für Raspbian Stretch teilen ?
sudo unattended-upgrade -d
von wiki.debian.org/UnattendedUpgrades