linux - Security updates pending even with unattended-upgrades on Debian -
i installed few days ago unattended-upgrades package install automatically security updates on debian 8 system. notice when run :
poiuytrez@xxx:/var/log/unattended-upgrades$ apt-get -s dist-upgrade |grep "^inst" |grep -i securi inst curl [7.38.0-4+deb8u2] (7.38.0-4+deb8u3 debian-security:8/stable [amd64]) [] inst libcurl3 [7.38.0-4+deb8u2] (7.38.0-4+deb8u3 debian-security:8/stable [amd64]) inst libcurl3-gnutls [7.38.0-4+deb8u2] (7.38.0-4+deb8u3 debian-security:8/stable [amd64]) inst libfuse2 [2.9.3-15+deb8u1] (2.9.3-15+deb8u2 debian-security:8/stable [amd64])
that have few security updates pending. what's wrong configuration?
you need either /etc/apt/apt.conf.d/20auto-upgrades or /etc/apt/apt.conf.d/02periodic , must contain lines apt::periodic::update-package-lists "1";
, apt::periodic::unattended-upgrade "1";
.
run (as root) dpkg-reconfigure -plow unattended-upgrades
create /etc/apt/apt.conf.d/20auto-upgrades if it's missing.
if still isn't working check /etc/cron.daily/apt
note: why testing dist-upgrade?! apt-get -s upgrade tell if dist-upgrades available e.g (something like:) x packages available not upgraded (they very unusual security patches).
ref: /usr/share/doc/unattended-upgrades/readme.md.gz
Comments
Post a Comment