Ubuntu无人参与的升级不能在Ubuntu 14.04.4上运行

我已经在Ubuntu 14.04服务器上启用了无人值守升级,并且似乎正在运行,但是它不会更新可以更新的软件包。

例如,现在我得到

46 packages can be updated. 

确认前apt-get升级输出:

 The following packages will be upgraded: galera-3 libgd3 libjbig0 libmariadbclient18 libmysqlclient18 libpcre3 libssl1.0.0 libssl1.0.2 libzip4 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server-core-10.1 mysql-common newrelic-daemon newrelic-php5 newrelic-php5-common newrelic-sysmond openssl php-common php-igbinary php-imagick php-json php-memcache php-memcached php-msgpack php-xdebug php5.6-bcmath php5.6-cli php5.6-common php5.6-curl php5.6-fpm php5.6-gd php5.6-imap php5.6-json php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-opcache php5.6-readline php5.6-recode php5.6-soap php5.6-xml php5.6-zip php7.0-common php7.0-json 46 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 

/etc/apt/apt.conf.d/50unattended-upgrades包含:

 Unattended-Upgrade::Allowed-Origins { "${distro_id}:${distro_codename}-security"; "${distro_id}:${distro_codename}-updates"; // "${distro_id}:${distro_codename}-proposed"; // "${distro_id}:${distro_codename}-backports"; }; 

而今天的unnattended-upgrades.log以

 2016-05-29 17:05:37,434 DEBUG pkgs that look like they should be upgraded: 2016-05-29 17:05:37,448 DEBUG fetch.run() result: 0 2016-05-29 17:05:37,448 DEBUG blacklist: [] 2016-05-29 17:05:37,449 INFO No packages found that can be upgraded unattended and no pending auto-removals 

是什么赋予了? 我怎样才能找出为什么无人值守的升级不起作用?

谢谢

可能的解决scheme是您的Allowed-Originsfilter与包中的原始标签不匹配。

为了在我的系统上进行debugging,我创build了一个脚本(请参阅: gist : dist_info )来转储当前的起始规则,如unattended-updates所使用的,也可以在请求时转储程序包的起点。