habe auf 2 verschiedenen Servern (beide Debian Squeeze) ein seltsamen Problem. Habe auf 2 Servern "unattended-upgrades" installiert und auf keiner der beiden möchte der Dienst bzw das Programm laufen.
Man kann zwar via "unattended-upgrades --dry-run" testen und auch sehen, das es funktioniert aber automatisch starten tut es nicht.
Auch habe ich gesehen das in "/etc/cron.daily/" kein apt vorhanden ist, bin mir jetzt nicht 100% sicher, aber sollte da nicht solch eine Datei vorhanden sein?
Hier mal meine Configs:
/etc/apt/apt.conf.d/50unattended-upgrades
Code: Alles auswählen
// Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
"${distro_id} stable";
"${distro_id} ${distro_codename}-security";
"${distro_id} ${distro_codename}-updates";
// "${distro_id} ${distro_codename}-proposed-updates";
};
// List of packages to not update
Unattended-Upgrade::Package-Blacklist {
// "vim";
// "libc6";
// "libc6-dev";
// "libc6-i686";
};
// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. The package 'mailx'
// must be installed or anything that provides /usr/bin/mail.
Unattended-Upgrade::Mail "Name@Domain.net";
// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
Unattended-Upgrade::Remove-Unused-Dependencies "true";
// Automatically reboot *WITHOUT CONFIRMATION* if a
// the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";
// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";
Code: Alles auswählen
// Enable the update/upgrade script (0=disable)
APT::Periodic::Enable "1";
// Set maximum size of the cache in MB (0=disable)
APT::Periodic::MaxSize "512";
// Do "apt-get update" automatically every n-days (0=disable)
APT::Periodic::Update-Package-Lists "1";
// Do "apt-get upgrade --download-only" every n-days (0=disable)
APT::Periodic::Download-Upgradeable-Packages "1";
// Run the "unattended-upgrade" security upgrade script
// every n-days (0=disabled)
// Requires the package "unattended-upgrades" and will write
// a log in /var/log/unattended-upgrades
APT::Periodic::Unattended-Upgrade "1";
// Do "apt-get autoclean" every n-days (0=disable)
APT::Periodic::AutocleanInterval "7";
// Send report mail to root
// 0: no report (or null string)
// 1: progress report (actually any string)
// 2: + command outputs (remove -qq, remove 2>/dev/null, add -d)
// 3: + trace on
APT::Periodic::Verbose "0";