Software update hangs after finished checking for updates

Bug #1169543 reported by Matthew Butler
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

When running software updater, small dialog window appears with progress bar. Shows checking for updates from the various sources.

Shows Checking for Updates...
Progress bar is at 100% status under progress bar shows 'Finished'
Stop button is grayed out.
Window hangs in this state. Does not show updates or indicate that there are no updates available. Unable to close with alt-F4, or from Gnome Shell overview or X on window. Need to xkill/kill the application.

apt-get from CLI shows that there are updates available.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: update-manager 1:0.185
ProcVersionSignature: Ubuntu 3.8.0-17.27-generic 3.8.6
Uname: Linux 3.8.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Tue Apr 16 09:10:36 2013
ExecutablePath: /usr/bin/update-manager
GsettingsChanges:
 b'com.ubuntu.update-manager' b'first-run' b'false'
 b'com.ubuntu.update-manager' b'launch-time' b'1366114097'
 b'com.ubuntu.update-manager' b'show-details' b'true'
 b'com.ubuntu.update-manager' b'window-height' b'587'
 b'com.ubuntu.update-manager' b'window-width' b'628'
InstallationDate: Installed on 2013-04-05 (10 days ago)
InstallationMedia: Ubuntu-GNOME 13.04 "Raring Ringtail" - Alpha amd64 (20130402.1)
InterpreterPath: /usr/bin/python3.3
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Matthew Butler (butler-matthew) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Christian Reis (kiko) wrote :

CPU is pegged at 100%:

21594 kiko 20 0 639m 129m 50m R 107.4 4.3 1:15.53 update-manager

strace says:

poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=3, events=POLLIN}, {fd=12, events=POLLIN}], 5, 0) = 0 (Timeout)
recvfrom(6, 0x1e3f244, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)

inodes are:

lrwx------ 1 kiko kiko 64 Apr 25 23:01 5 -> anon_inode:[eventfd]
lrwx------ 1 kiko kiko 64 Apr 25 23:01 6 -> socket:[330041]

Leaving it running overnight...

Revision history for this message
Christian Reis (kiko) wrote :

I got tired. A ^C gave me:

^CTraceback (most recent call last):
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdateProgress.py", line 78, in _on_backend_done
    self.window_main.start_available(not success)
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 186, in start_available
    self.refresh_cache()
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 315, in refresh_cache
    self.update_list.update(self.cache, eventloop_callback=iterate)
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 420, in update
    eventloop_callback)
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 351, in _make_groups
    if group.is_dependency(cache, pkg, eventloop_callback):
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 102, in is_dependency
    seen, eventloop_callback):
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 92, in _is_dependency_helper
    eventloop_callback)):
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 92, in _is_dependency_helper
    eventloop_callback)):
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 92, in _is_dependency_helper
    eventloop_callback)):
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 87, in _is_dependency_helper
    dependencies = candidate.get_dependencies('Depends', 'Recommends')
  File "/usr/lib/python3/dist-packages/apt/package.py", line 443, in get_dependencies
    rawtype=type_))
  File "/usr/lib/python3/dist-packages/apt/package.py", line 82, in __init__
    def __init__(self, name, rel, ver, pre, rawtype=None):

Changed in update-manager (Ubuntu):
importance: Undecided → Medium
Revision history for this message
ashley (ash09831) wrote :

so how do you fix this problem? I have it too

Revision history for this message
Yngve Hoejrup (yngvehoejrup) wrote :

I got the error too
running 13.04 amd 64 bits

Are there any who is looking into this problem

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.