unattended-upgrades doesn't upgrade all related packages

Bug #983735 reported by richud
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Same problem as the "fixed" bug https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/336558

when using unattended-upgrades, the log file reports that some packages could not be upgraded automatically due to configuration file prompt, while manual upgrades don't mention them.
 e.g.

$ cat unattended-upgrades.log
2012-04-17 07:35:44,245 INFO Initial blacklisted packages:
2012-04-17 07:35:44,245 INFO Starting unattended upgrades script
2012-04-17 07:35:44,245 INFO Allowed origins are: ['o=Ubuntu,a=precise', 'o=Ubuntu,a=precise-security', 'o=Ubuntu,a=precise-updates', 'o=LP-PPA-app-review-board,a=precise', 'o=Oracle Corporation,a=']
2012-04-17 07:37:23,228 WARNING Package 'libgtk-3-0' has conffile prompt and needs to be upgraded manually
2012-04-17 07:37:42,214 INFO package 'gir1.2-gtk-3.0' not upgraded
2012-04-17 07:37:56,185 INFO package 'gvfs' not upgraded
2012-04-17 07:37:58,019 INFO package 'gvfs-backends' not upgraded
2012-04-17 07:38:15,499 INFO package 'libgail-3-0' not upgraded
2012-04-17 07:38:30,845 INFO package 'libgtk-3-0' not upgraded
2012-04-17 07:38:33,210 INFO package 'libgtk-3-bin' not upgraded
2012-04-17 07:38:35,580 INFO package 'libgtk-3-common' not upgraded
2012-04-17 07:38:37,939 INFO package 'libgtk-3-dev' not upgraded
2012-04-17 07:39:08,353 INFO Packages that are upgraded: aisleriot apport apport-gtk apport-retrace cpp-4.6 empathy empathy-common example-content file-roller g++-4.6 gcc-4.6 gcc-4.6-base gcc-4.6-base:i386 gcc-4.6-multilib gedit gedit-common gir1.2-dbusmenu-glib-0.4 gir1.2-dbusmenu-gtk-0.4 gir1.2-gdesktopenums-3.0 gir1.2-gdkpixbuf-2.0 gir1.2-gnomedesktop-3.0 gir1.2-gtksource-3.0 gir1.2-panelapplet-4.0 gir1.2-pango-1.0 gnome-control-center gnome-control-center-data gnome-desktop3-data gnome-panel gnome-panel-data gnome-screenshot gnome-settings-daemon gnome-system-log gnome-system-monitor gnome-terminal gnome-terminal-data gsettings-desktop-schemas gsettings-desktop-schemas-dev gvfs-bin gvfs-common gvfs-daemons:i386 gvfs-fuse gvfs-libs gvfs-libs:i386 gvfs:i386 lib32gcc1 lib32gomp1 lib32quadmath0 libc-bin libc-dev-bin libc6 libc6-dev libc6-dev-i386 libc6-i386 libc6:i386 libdbusmenu-glib4 libdbusmenu-gtk3-4 libdbusmenu-gtk4 libgcc1 libgcc1:i386 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-0:i386 libgdk-pixbuf2.0-common libgdk-pixbuf2.0-dev libgfortran3 libglib2.0-0 libglib2.0-0:i386 libglib2.0-bin libglib2.0-data libglib2.0-dev libgnome-control-center1 libgnome-desktop-3-2 libgnome-desktop-3-dev libgomp1 libgomp1:i386 libgtksourceview-3.0-0 libgtksourceview-3.0-common libmusicbrainz3-6 libnautilus-extension1a libobjc3 libpanel-applet-4-0 libpango1.0-0 libpango1.0-0:i386 libpango1.0-dev libquadmath0 librsvg2-2 librsvg2-2:i386 librsvg2-common librsvg2-common:i386 libstdc++6 libstdc++6-4.6-dev libstdc++6:i386 mousetweaks multiarch-support nautilus nautilus-data nautilus-sendto-empathy nscd python-apport python-problem-report python-qt4 python-qt4-dbus tomboy transmission-common transmission-gtk ttf-wqy-microhei upstart usb-creator-common usb-creator-gtk vinagre vino yelp-xsl
2012-04-17 07:39:08,353 INFO Writing dpkg log to '/var/log/unattended-upgrades/unattended-upgrades-dpkg_2012-04-17_07:39:08.353666.log'
2012-04-17 07:40:52,196 INFO All upgrades installed

----------------

libgtk-3-0 etc all update fine with no prompts doing it manually.

------

$ lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

$ apt-cache policy unattended-upgrades
unattended-upgrades:
  Installed: 0.76
  Candidate: 0.76
  Version table:
 *** 0.76 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

Tags: amd64 precise
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Is there a way to reproduce this? I would love to know what version got upgraded so the log /var/log/unattended-upgrades/unattended-upgrades-dpkg_2012-04-17_07:39:08.353666.log maybe interessting. Ideal would be a situation where this is reproducable and getting the output of "unattended-upgrades --debug"
where

Changed in unattended-upgrades (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Vogt (mvo) wrote :

This is probably a dupe of #936870

Revision history for this message
Michael Vogt (mvo) wrote :

But to be certain the unattended-upgrades --debug log would be required

Revision history for this message
richud (richud.com) wrote :
Download full text (5.7 KiB)

just happened again,

$ cat unattended-upgrades.log
2012-05-02 18:10:12,794 INFO Initial blacklisted packages:
2012-05-02 18:10:12,794 INFO Starting unattended upgrades script
2012-05-02 18:10:12,794 INFO Allowed origins are: ['o=Ubuntu,a=precise', 'o=Ubuntu,a=precise-security', 'o=Ubuntu,a=precise-updates', 'o=Oracle Corporation,a=']
2012-05-02 18:10:41,250 WARNING Package 'libqtcore4' has conffile prompt and needs to be upgraded manually
2012-05-02 18:10:44,771 INFO package 'libqt4-dbus' not upgraded
2012-05-02 18:10:46,089 INFO package 'libqt4-declarative' not upgraded
2012-05-02 18:10:47,404 INFO package 'libqt4-designer' not upgraded
2012-05-02 18:10:48,730 INFO package 'libqt4-help' not upgraded
2012-05-02 18:10:50,048 INFO package 'libqt4-network' not upgraded
2012-05-02 18:10:51,366 INFO package 'libqt4-opengl' not upgraded
2012-05-02 18:10:52,687 INFO package 'libqt4-qt3support' not upgraded
2012-05-02 18:10:54,009 INFO package 'libqt4-script' not upgraded
2012-05-02 18:10:55,328 INFO package 'libqt4-scripttools' not upgraded
2012-05-02 18:10:56,653 INFO package 'libqt4-sql' not upgraded
2012-05-02 18:10:57,972 INFO package 'libqt4-sql-sqlite' not upgraded
2012-05-02 18:10:59,291 INFO package 'libqt4-svg' not upgraded
2012-05-02 18:11:00,614 INFO package 'libqt4-test' not upgraded
2012-05-02 18:11:01,935 INFO package 'libqt4-xml' not upgraded
2012-05-02 18:11:03,256 INFO package 'libqt4-xmlpatterns' not upgraded
2012-05-02 18:11:04,581 INFO package 'libqtcore4' not upgraded
2012-05-02 18:11:05,898 INFO package 'libqtgui4' not upgraded
2012-05-02 18:11:09,884 INFO package 'qdbus' not upgraded
2012-05-02 18:11:15,481 INFO Packages that are upgraded: glib-networking glib-networking-common glib-networking-services libssl-doc libssl1.0.0 libtasn1-3 openssl remmina remmina-common remmina-plugin-rdp remmina-plugin-vnc update-manager update-manager-core xserver-xorg-input-synaptics
2012-05-02 18:11:15,481 INFO Writing dpkg log to '/var/log/unattended-upgrades/unattended-upgrades-dpkg_2012-05-02_18:11:15.481716.log'
2012-05-02 18:11:46,219 INFO All upgrades installed

AND

$ cat unattended-upgrades-dpkg_2012-05-02_18:11:15.481716.log
Preconfiguring packages ...
Package 'libqtcore4' has conffile prompt and needs to be upgraded manually
(Reading database ... 331433 files and directories currently installed.)
Preparing to replace libssl1.0.0 1.0.1-4ubuntu3 (using .../libssl1.0.0_1.0.1-4ubuntu5_amd64.deb) ...
Unpacking replacement libssl1.0.0 ...
Setting up libssl1.0.0 (1.0.1-4ubuntu5) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 331433 files and directories currently installed.)
Preparing to replace libtasn1-3 2.10-1ubuntu1 (using .../libtasn1-3_2.10-1ubuntu1.1_amd64.deb) ...
Unpacking replacement libtasn1-3 ...
Preparing to replace openssl 1.0.1-4ubuntu3 (using .../openssl_1.0.1-4ubuntu5_amd64.deb) ...
Unpacking replacement openssl ...
Preparing to replace update-manager-core 1:0.156.14 (using .../update-manager-core_1%3a0.156.14.1_amd64.deb) ...
Unpacking replacement update-manager-core ...
Preparing to replace update-manager 1:0.156.14 (using .../update-manager_1%3a0.156.14.1...

Read more...

Revision history for this message
richud (richud.com) wrote :
Download full text (26.8 KiB)

DEBUG LOG

$ sudo unattended-upgrades --debug
[sudo] password for rfm6:
Initial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,a=precise', 'o=Ubuntu,a=precise-security', 'o=Ubuntu,a=precise-updates', 'o=Oracle Corporation,a=']
adjusting candidate version: '<Version: package:'fonts-opensymbol' version:'2:102.2+LibO3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'libreoffice-base-core' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'libreoffice-calc' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'libreoffice-common' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'libreoffice-core' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'libreoffice-draw' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'libreoffice-emailmerge' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'libreoffice-gnome' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'libreoffice-gtk' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'libreoffice-help-en-us' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'libreoffice-impress' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'libreoffice-math' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'libreoffice-style-human' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'libreoffice-style-tango' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'libreoffice-writer' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'python-uno' version:'1:3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'ttf-opensymbol' version:'2:102.2+LibO3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'uno-libs3' version:'3.5.2-2ubuntu1'>'
adjusting candidate version: '<Version: package:'ure' version:'3.5.2-2ubuntu1'>'
Checking: libqt4-dbus (["<Origin component:'main' archive:'precise-updates' origin:'Ubuntu' label:'Ubuntu' site:'uk.archive.ubuntu.com' isTrusted:True>"])
Checking: libqt4-declarative (["<Origin component:'main' archive:'precise-updates' origin:'Ubuntu' label:'Ubuntu' site:'uk.archive.ubuntu.com' isTrusted:True>"])
Checking: libqt4-designer (["<Origin component:'main' archive:'precise-updates' origin:'Ubuntu' label:'Ubuntu' site:'uk.archive.ubuntu.com' isTrusted:True>"])
Checking: libqt4-help (["<Origin component:'main' archive:'precise-updates' origin:'Ubuntu' label:'Ubuntu' site:'uk.archive.ubuntu.com' isTrusted:True>"])
Checking: libqt4-network (["<Origin component:'main' archive:'precise-updates' origin:'Ubuntu' label:'Ubuntu' site:'uk.archive.ubuntu.com' isTrusted:True>"])
Checking: libqt4-opengl (["<Origin component:'main' archive:'precise-updates' origin:'Ubuntu' label:'Ubuntu' site:'uk.archive.ubuntu.com' isTrusted:True>"])
Checking: libqt4-qt3support (["<Origin component:'main' archive:'precise-updates' origin:'Ubuntu' label:'Ubuntu' site:'uk.archive.u...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for unattended-upgrades (Ubuntu) because there has been no activity for 60 days.]

Changed in unattended-upgrades (Ubuntu):
status: Incomplete → Expired
Revision history for this message
richud (richud.com) wrote :

this is still a problem with 12.10

$ sudo unattended-upgrade -d
Initial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,a=quantal', 'o=Ubuntu,a=quantal-security', 'o=Ubuntu,a=quantal-updates', 'o=LP-PPA-app-review-board,a=quantal', 'o=LP-PPA-libreoffice,a=quantal', 'o=LP-PPA-tualatrix,a=quantal']
adjusting candidate version: '<Version: package:'fonts-opensymbol' version:'2:102.2+LibO3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-base-core' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-calc' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-common' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-core' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-draw' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-emailmerge' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-gnome' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-gtk' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-help-en-us' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-impress' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-math' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-ogltrans' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-pdfimport' version:'1.0.6+LibO3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-presentation-minimizer' version:'1.0.4+LibO3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-presenter-console' version:'1.1.1+LibO3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-style-human' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-style-tango' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'libreoffice-writer' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'python-uno' version:'1:3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'uno-libs3' version:'3.6.1~rc2-1ubuntu5'>'
adjusting candidate version: '<Version: package:'ure' version:'3.6.1~rc2-1ubuntu5'>'
pkgs that look like they should be upgraded:
Fetched 0 B in 0s (0 B/s)
fetch.run() result: 0
blacklist: []
InstCount=0 DelCount=0 BrokenCount=0
No packages found that can be upgraded unattended

Changed in unattended-upgrades (Ubuntu):
status: Expired → In Progress
status: In Progress → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unattended-upgrades (Ubuntu):
status: New → Confirmed
Mathew Hodson (mhodson)
tags: added: amd64 precise
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.