update-manager crashes when cancelling sudo authentication

Bug #735719 reported by Chad A Davis
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

Update manager was ready to install a small number (13 updates, 1MB download) of new updates today. After being prompted to authenticate via sudo, I selected "Cancel" (in order to update later instead), which caused Update manager to crash, after a long pause.

Update manager stays open, however. If I then select "Install updates" again and then "Cancel" the authentication, I can reproduce the crash.

I then went back and authenticated and successfully installed the 13 updates. Since my package information database was 14 hours old, I did another "Check", found more updates (78 updates, 66MB download) and again tried to "Cancel" the authentication, which again resulted in a short delay, followed by the same crash. I.e. it does not seem to be the unique set of packages, but rather than that the authentication failing always causes update-manager to crash.

Cancelling authentication in general, e.g. to change the date via gnome-control-center doesn't cause any crash. I.e. it doesn't seem like the issue is in gksu (I guess that's what's running behind update-manager) but rather in how update-manager responds to authentication being cancelled.

The crash does not happen when I enter an incorrect password, only when I press "Cancel".

Ubuntu Natty (development branch) 64bit

update-manager:
  Installed: 1:0.146.3
  Candidate: 1:0.146.3
  Version table:
 *** 1:0.146.3 0
        500 http://de.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: update-manager 1:0.146.3
ProcVersionSignature: Ubuntu 2.6.38-6.34-generic 2.6.38-rc7
Uname: Linux 2.6.38-6-generic x86_64
Architecture: amd64
Date: Tue Mar 15 21:20:25 2011
ExecutablePath: /usr/bin/update-manager
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110302)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python2.7 /usr/bin/update-manager
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/update-manager']
SourcePackage: update-manager
Title: update-manager crashed with NotAuthorizedError in _run(): org.freedesktop.PolicyKit.Error.NotAuthorized: ('system-bus-name', {'name': ':1.126'}): org.debian.apt.install-or-remove-packages
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Chad A Davis (chadadavis) wrote :
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #704667, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
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.