Automatyczne aktualizacje bezpiecze

Ogólne pytania dotyczące systemu
funtomasz
Posty: 17
Rejestracja: 04 kwietnia 2014, 00:24

Automatyczne aktualizacje bezpieczeństwa pobierają się, ale nie instalują w Jessie'm

Post autor: funtomasz »

Posiadam na swoim komputerze zainstalowanego Debiana Jessie upgrade'owanego z wersji Wheezy. Po ostatniej aktualizacji pakietu unattended-upgrades (do wersji 0.83.3.1) aktualizacje bezpieczeństwa się nie instalują, chociaż system je pobiera. Ubiegłotygodniowa aktualizacja miała poprawić błąd, który we wcześniejszej wersji unattended-upgrades (0.83.3) rozwiązałem zamieniając wpis w /etc/apt/apt.conf.d/50unattended-upgrades:

Kod: Zaznacz cały

 "origin=Debian,archive=${distro_codename},label=Debian-Security"; 
na

Kod: Zaznacz cały

 "origin=Debian,codename=${distro_codename},label=Debian-Security"; 
Skorzystałem wówczas z poradnika znalezionego w sieci.

Teraz jednak, po ubiegłotygodniowej aktualizacji unattended-upgrades, problem się powtórzył. W czasie aktualizacji system zapytał mnie, czy chcę skorzystać z pliku konfiguracyjnego dostarczonego przez twórcę pakietu, na co się zgodziłem.

Kluczowy wpis w /etc/apt/apt.conf.d/50unattended-upgrades po ostatniej aktualizacji wygląda teraz tak:

Kod: Zaznacz cały

Unattended-Upgrade::Allowed-Origins {
    "${distro_id}:${distro_codename}-security";
//    "${distro_id}:${distro_codename}-updates";
//    "${distro_id}:${distro_codename}-proposed";
//    "${distro_id}:${distro_codename}-backports";
}; 
/etc/apt/apt.conf.d/10periodic:

Kod: Zaznacz cały

APT::Periodic: :D ownload-Upgradeable-Packages "1";
APT::Periodic::Unattended-Upgrade "1";
APT::Periodic::Update-Package-Lists "1"; 
/etc/apt/apt.conf.d/20auto-upgrades:

Kod: Zaznacz cały

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1"; 
Po uruchomieniu komendy "unattended-upgrades -d" na prawach root'a, w /var/log/unattended-upgrades/unattended-upgrades.log pojawia się coś takiego:

Kod: Zaznacz cały

2015-06-10 09:08:20,671 INFO Initial blacklisted packages: 
2015-06-10 09:08:20,672 INFO Initial whitelisted packages: 
2015-06-10 09:08:20,673 INFO Starting unattended upgrades script
2015-06-10 09:08:20,673 INFO Allowed origins are: ['o=Debian,a=jessie-security']
2015-06-10 09:08:23,991 DEBUG Checking: cups ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>])
2015-06-10 09:08:23,993 DEBUG Checking: cups-bsd ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>])
2015-06-10 09:08:23,994 DEBUG Checking: cups-client ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>])
2015-06-10 09:08:23,995 DEBUG Checking: cups-common ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>])
2015-06-10 09:08:23,997 DEBUG Checking: cups-core-drivers ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>])
2015-06-10 09:08:23,998 DEBUG Checking: cups-daemon ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>])
2015-06-10 09:08:23,999 DEBUG Checking: cups-ppdc ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>])
2015-06-10 09:08:24,000 DEBUG Checking: cups-server-common ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>])
2015-06-10 09:08:24,251 DEBUG Checking: libcups2 ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>])
2015-06-10 09:08:24,252 DEBUG Checking: libcupscgi1 ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>])
2015-06-10 09:08:24,254 DEBUG Checking: libcupsimage2 ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>])
2015-06-10 09:08:24,255 DEBUG Checking: libcupsmime1 ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>])
2015-06-10 09:08:24,256 DEBUG Checking: libcupsppdc1 ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>])
2015-06-10 09:08:25,083 DEBUG pkgs that look like they should be upgraded: 
2015-06-10 09:08:25,097 DEBUG fetch.run() result: 0
2015-06-10 09:08:25,097 DEBUG blacklist: []
2015-06-10 09:08:25,097 DEBUG whitelist: []
2015-06-10 09:08:25,098 DEBUG InstCount=0 DelCount=0 BrokenCount=0
2015-06-10 09:08:25,098 INFO No packages found that can be upgraded unattended 
Próbowałem użyć zarówno komendy "dpkg-reconfigure unattended-upgrades", jak i aplikacji w trybie graficznym software-proporties-gtk - bez zmian.

Dlaczego automatyczne aktualizacje bezpieczeństwa nie działają? Czy możecie mi pomóc jakoś rozwiązać ten problem?
funtomasz
Posty: 17
Rejestracja: 04 kwietnia 2014, 00:24

Post autor: funtomasz »

Wychodzi na to, że sprawa powyższego błędu została zauważona, jest więc i tymczasowe rozwiązanie: https://bugs.debian.org/cgi-bin/bugrepo ... bug=788066.
ODPOWIEDZ