unattended-upgrades doesn't work in Xenial

Bug #1562072 reported by Yaroslav Molochko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When I login to system I get:

167 packages can be updated.
0 updates are security updates.

When I do apt-get upgrade I get:
==================
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  python-croniter python-systemd
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
  isc-dhcp-client linux-generic linux-headers-generic linux-image-generic python-zmq
The following packages will be upgraded:
  accountsservice apt apt-transport-https apt-utils bind9 bind9-host bind9utils binutils bsdutils console-setup console-setup-linux cpp-5 dnsutils fonts-ubuntu-font-family-console
  fuse g++-5 gcc-5 gcc-5-base gcc-6-base git git-man grub-common grub-pc grub-pc-bin grub2-common info install-info isc-dhcp-common keyboard-configuration klibc-utils kmod
  krb5-locales landscape-common language-selector-common libaccountsservice0 libapt-inst2.0 libapt-pkg5.0 libasan2 libatomic1 libbind9-140 libblkid1 libc-bin libc-dev-bin libc6
  libc6-dev libcc1-0 libcilkrts5 libdns162 libfdisk1 libfuse2 libgcc-5-dev libgcc1 libgnutls-openssl27 libgnutls30 libgomp1 libgssapi-krb5-2 libirs141 libisc160 libisccc140
  libisccfg140 libitm1 libk5crypto3 libklibc libkmod2 libkrb5-3 libkrb5support0 liblsan0 liblwres141 libmount1 libmpdec2 libmpfr4 libmpx0 libpam-modules libpam-modules-bin
  libpam-runtime libpam-systemd libpam0g libpcre3 libperl5.22 libplymouth4 libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3-dev libpython3-stdlib
  libpython3.5 libpython3.5-dev libpython3.5-minimal libpython3.5-stdlib libquadmath0 libseccomp2 libselinux1 libsmartcols1 libstdc++-5-dev libstdc++6 libsystemd0 libtsan0
  libubsan0 libudev1 libutempter0 libuuid1 linux-firmware linux-generic-lts-wily linux-headers-generic-lts-wily linux-libc-dev locales ltrace module-init-tools mount
  multiarch-support ntpdate openssh-client openssh-server openssh-sftp-server openssl os-prober perl perl-base perl-modules-5.22 plymouth plymouth-theme-ubuntu-text python-pip
  python-pip-whl python-pycurl python-pymysql python-twisted-bin python-twisted-core python2.7 python2.7-dev python2.7-minimal python3 python3-dev python3-distupgrade
  python3-minimal python3-pip python3-pycurl python3.5 python3.5-dev python3.5-minimal systemd systemd-sysv tzdata ubuntu-minimal ubuntu-release-upgrader-core ubuntu-standard udev
  util-linux uuid-runtime vim vim-common vim-runtime vim-tiny
153 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 249 MB of archives.
After this operation, 30.7 MB disk space will be freed.
====================

When I execute
-----
sudo unattended-upgrades --dry-run --debug
-----
it shows me:
----
No packages found that can be upgraded unattended and no pending auto-removals
----
I've tried default config, without "blacklist", the message is the same.

Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unattended-upgrades 0.90
ProcVersionSignature: Ubuntu 4.4.0-11.26-generic 4.4.4
Uname: Linux 4.4.0-11-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
Date: Fri Mar 25 16:23:26 2016
InstallationDate: Installed on 2016-02-23 (31 days ago)
InstallationMedia: Ubuntu-Server 14.04.4 LTS "Trusty Tahr" - Release amd64 (20160217.1)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 TERM=rxvt-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Yaroslav Molochko (onorua) wrote :
Revision history for this message
Haw Loeung (hloeung) wrote :

"""
0 updates are security updates.
"""

I think by default unattended-upgrades only does security updates. e.g. from running --dry-run --debug:

"""
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,a=xenial-security']
pkgs that look like they should be upgraded:
"""

Revision history for this message
Jarno Suni (jarnos) wrote :

Yes, change i.e. uncomment '// "${distro_id}:${distro_codename}-updates";' to
'"${distro_id}:${distro_codename}-updates";' in /etc/apt/apt.conf.d/50unattended-upgrades to include regular updates.

Changed in unattended-upgrades (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.