Graphical update fails

Bug #1412560 reported by Wolf Rogner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Using Software-updater in Ubuntu 14.10 downloads changes but refuses to carry them out when OK is pressed.

The software updater queries the repositories and returns a list of available upgrades.
When choosing OK (selection stopped working a while ago), the download dialog appears but renders a failure notice (check internet connection - which is working perfectly fine).

This happens regularly.

Doing the upgrade in a terminal works first time.

Observed behaviour:

Sometimes IPv6 address resolution appears during download of package lists (which breaks regularly).

The query progress bar in the graphical interface jumps erratically instead of running smoothly (might be an indication of failed name resolution or package retrieval)

No changes in network configuration on my side (just in case someone might wonder)

Download from the main server is extremely slow (40-50k/s on a 45Mb/s line)

Main servers used in update configuration

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: ubuntu-release-upgrader-core 1:14.10.9
ProcVersionSignature: Ubuntu 3.16.0-30.40-generic 3.16.7-ckt3
Uname: Linux 3.16.0-30-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: Unity
Date: Mon Jan 19 21:05:31 2015
InstallationDate: Installed on 2013-05-17 (611 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64+mac (20130424)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: No upgrade log present (probably fresh install)
VarLogDistupgradeAptHistorylog:
 Start-Date: 2014-11-05 12:44:14
 End-Date: 2014-11-05 12:44:14
VarLogDistupgradeApttermlog:
 Log started: 2014-11-05 12:44:14
 Log ended: 2014-11-05 12:44:14

Revision history for this message
Wolf Rogner (war-rsb) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Please try launching update-manager from a terminal via "update-manager --debug" and report back. Thanks!

affects: ubuntu-release-upgrader (Ubuntu) → update-manager (Ubuntu)
Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Wolf Rogner (war-rsb) wrote :
Download full text (9.4 KiB)

Tried it, worked (unexpectedly). Running without the debug option produces the same dialog (Failed to download packages...)

Log:

$ update-manager --debug
DEBUG:AptClient.DebconfProxy:debconf socket: /tmp/aptdaemon-zro74xyo/debconf.socket
DEBUG:root:debconf.start()
DEBUG:root:debconf.stop()
DEBUG:root:App candidate for system-config-printer-gnome: /usr/share/app-install/desktop/system-config-printer-gnome:system-config-printer.desktop
DEBUG:root:App candidate for unity-webapps-qml: /usr/share/app-install/desktop/unity-webapps-qml:unitywebappsqmllauncher.desktop
DEBUG:root:WARNING: can not get name for '<gtk.TreeViewAccessible object at 0x7fee383a3ca8 (GtkTreeViewAccessible at 0x2fdaa70)>'
DEBUG:root:WARNING: can not get name for '<gtk.LabelAccessible object at 0x7fee38347120 (GtkLabelAccessible at 0x4174750)>'
DEBUG:root:WARNING: can not get name for '<TreeSelection object at 0x7fee38347990 (GtkTreeSelection at 0x2c40830)>'
DEBUG:root:WARNING: can not get name for '<gtk.TextViewAccessible object at 0x7fee383addc8 (GtkTextViewAccessible at 0x2fdac80)>'
DEBUG:root:cache aufs_rw_dir: /tmp/
DEBUG:root:Free space on /: 481305055232
DEBUG:root:Dir /usr mounted on /
DEBUG:root:Dir /var mounted on /
DEBUG:root:Dir /boot mounted on /
DEBUG:root:Dir /var/cache/apt/archives mounted on /
DEBUG:root:Dir /tmp mounted on /
DEBUG:root:Dir /home mounted on /
DEBUG:root:Dir /tmp mounted on /
DEBUG:root:fs_free contains: '{'/tmp': <DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7fee463942b0>, '/usr': <DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7fee463942b0>, '/boot': <DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7fee463942b0>, '/var/cache/apt/archives': <DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7fee463942b0>, '/var': <DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7fee463942b0>, '/home': <DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7fee463942b0>, '/': <DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7fee463942b0>}'
DEBUG:root:dir '/var/cache/apt/archives' needs '7139400' of '<DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7fee463942b0>' (481305055232.000000)
DEBUG:root:dir '/usr' needs '-9216' of '<DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7fee463942b0>' (481297915832.000000)
DEBUG:root:dir '/usr' needs '52428800' of '<DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7fee463942b0>' (481297925048.000000)
DEBUG:root:dir '/boot' needs '0' of '<DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7fee463942b0>' (481245496248.000000)
DEBUG:root:dir '/tmp' needs '5242880' of '<DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7fee463942b0>' (481245496248.000000)
DEBUG:root:dir '/' needs '10485760' of '<DistUpgrade.DistUpgradeCache.MyCache.checkFreeSpace.<locals>.FreeSpace object at 0x7fee463942b0>' (481240253368.000000)
DEBUG:root:dir...

Read more...

Revision history for this message
Wolf Rogner (war-rsb) wrote :

Here is the failure dialog

It regularly comes when calling update-manager from the dash / launchbar

As mentioned before, doing a textual upgrade (apt-get) does not influence the behaviour of the graphical update manager

Changed in update-manager (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → Medium
Revision history for this message
Wolf Rogner (war-rsb) wrote :

After some more observation and reading around I tried to deactivate IPv6.

Even with IPv6 disabled, the graphical update-manager regularly fails to download the packages. Doing this from the terminal works fine on every attempt.

Have no more ideas as to what to try or adjust

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.