update-manager crashed with DBusException in update()

Bug #616721 reported by David Leal
740
This bug affects 118 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
High
Canonical Foundations Team
Precise
Fix Released
High
Canonical Foundations Team

Bug Description

Binary package hint: update-manager

I was updating my sources while sending a bunch of ubuntu bug reports. Don't have much more than that to report.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: update-manager 1:0.142.7
ProcVersionSignature: Ubuntu 2.6.35-14.20-generic-pae 2.6.35
Uname: Linux 2.6.35-14-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Thu Aug 12 12:18:35 2010
ExecutablePath: /usr/bin/update-manager
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python2.6 /usr/bin/update-manager
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/update-manager']
SourcePackage: update-manager
Title: update-manager crashed with DBusException in update()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
David Leal (dgleal) wrote :
tags: removed: need-duplicate-check
tags: added: bugpattern-needed
visibility: private → public
igi (igor-cali)
Changed in update-manager (Ubuntu):
status: New → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
David Tombs (dgtombs) wrote :

Please comment when changing status.

Changed in update-manager (Ubuntu):
status: Fix Released → New
Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthias Schmidt (mschmidt) wrote :

Can confirm this bug. Reported 865533 as a duplicate.

Revision history for this message
Colan Schwartz (colan) wrote :

Still hitting this in Oneiric; adding tag.

tags: added: oneiric
Revision history for this message
Manuel dos Santos (manuel-santos13) wrote :

I have this bug in Precise !

Revision history for this message
Antec (info-janmob) wrote :

I have also this bug in Precise, bug appeared after I installed the 3.2 kernel.

Revision history for this message
psamuel (persaudsamuel) wrote :

I have also this bug in Precise :(

Revision history for this message
Vladimir Scherbaev (zemik) wrote :

Affected 12.04

tags: added: precise
Revision history for this message
Mike (pedromfalcao) wrote :

When upgrading to Ubuntu 12.04
Kernel 3.0.0-13-generic

Revision history for this message
Orange-juice (orange-juice) wrote :

Affected 12.04

Revision history for this message
Robert Ward (rob-ward78) wrote :

Currently using 12.04 Alpha 1, upgraded via live cd. did a terminal source list update, sudo apt-get update, which succeded. Update manager loaded saying there were updates, clicked on install, and Update manager crashed. restarted it, clicked on update, and update manager crashed again. Settings button work fine

Revision history for this message
Hernan. (elmudometal) wrote :

Affected 12.04
kernel 3.2.0-1

Revision history for this message
Silviu C. (silviucc) wrote :

Happens with 12.04 alpha1 64bit

Revision history for this message
Per Moller (per-moller) wrote :

For a long time it has not been seen on 11.10, but today on 12.04 alpha it's back

Revision history for this message
Wajih Letaief (mawale) wrote :

Also happens with 12.04 alpha1 32bit

Revision history for this message
Wajih Letaief (mawale) wrote :

mawale@mawale-VirtualBox:~$ sudo update-manager

(update-manager:3534): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:3534): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:3534): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:3534): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:3534): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:3534): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed
...

Revision history for this message
Wajih Letaief (mawale) wrote :

g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

Revision history for this message
SarahSlean (yoda4) wrote :

on this bug on 12.04 alpha1 and virtual box.

Revision history for this message
Daniel Greeley (danielgreeley) wrote :

Happens in 12.04, in a vobox for me as well.

Revision history for this message
Rick Nagel (rnagel951) wrote :

Also had problem with 23 bit 12.04. Was able to do update via terminal commands.

Revision history for this message
Bilal Shahid (s9iper1) wrote :

i have also seen this bug and it happen when i was updating through terminal..i am using 12.04.and i am not be able to update any thing from the update manager i use terminal for update.

Revision history for this message
jokrebel (jokrebel) wrote :

Also problem with update-manager using 12.04alpha 32bit. Most time not working or not asking for password. Sometimes error message that deamon has died. 20 times tested, only one time korrekt work.

Revision history for this message
Rick Nagel (rnagel951) wrote :

After updates via terminal 12-07-2011 When update, availabe updates bis selected, window freezes, times out, message deamon has died. On second attempt asks for password. 32 bit 12.04

Revision history for this message
crtm (carlosrtm) wrote :

After update (GUI) , then cash (Affected 12.04 kernel 3.2.0-1 -64 bit-) Update/upgrade and dist-upgrade vie terminal, is ok.

Revision history for this message
Christopher Kyle Horton (christhehorton) wrote :

Just got this today when trying to check for updates in the Update Manager on Precise after installing some updates it had already displayed. The window went unresponsive for a while but did nothing as far as I could tell, and I switched back to Firefox for some browsing. A couple minutes later, this crash report came up.

update-manager 1:0.155.1

Revision history for this message
Bulat Nigmatullin (bulatka) wrote :

I run update-manager from console. On crash it printed the following lines:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/defer/__init__.py", line 472, in _inline_callbacks
    result = gen.throw(result.type, result.value, result.traceback)
  File "/usr/lib/python2.7/dist-packages/UpdateManager/backend/InstallBackendAptdaemon.py", line 33, in update
    trans = yield self.client.update_cache(defer=True)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

Revision history for this message
Brian Smith (brian-smith-i) wrote :

Yes this bug is in Precise 12.04 64bit
Have to update via terminal and update manager crashes

Revision history for this message
J B (jb59) wrote :

I am a 0day convert to the Linux world, and ran into this problem yesterday. Installing via Wubi download most recent version, 64 bit on all new/recent hardware. I also ran into many other problems - installing ATI driver (I know, not supported) would not work, Firefox acted real funny, Software manager lagging/not functioning properly, and another random crash I cannot remember (python something?)...

Anyhow, I tried a few different install methods, and found one that worked for me, to freshly install without this problem (or any of the other ones) occurring, and now everything is running perfectly.

All I did was disconnect my internet, burn the 11.10 amd64 ISO to a DVD, and "Install Inside Windows" (which is crucial to my conversion plan right now). This seems to end up doing most of the installation after the reboot (still not connected to internet). After getting to desktop, I rebooted again to be sure (My MS habits are going to take some time to change), and then ran update manager, which seemed to download way more data than the previous install and subsequent terminal update methods (almost 100 MB more after adding all totals). No crashing, all good and very fast/responsive.

Anyhow, I don't know if this is helpful, but since everything works perfect for me now I wanted to give back to the community since that is how I understand things get done around here. This is how I solved the problem for me (and many other unexpected ones I could only feel had to be related somehow but wouldn't know where to look yet).

If this post was not useful, I am open to criticism on where to go/what to read to get more up to speed. Similarly, I'd be happy to recreate the original error for further testing/feedback if needed, but still kinda clueless to this side of things. Trying to learn quickly.

Cheers,
Jason

Revision history for this message
Britt Yazel (bwyazel) wrote :

Very cool Jason! Welcome to have you aboard!!

I am guessing what happened with the internet disconnected was that it didn't "install updates while installing"...which is strange because usually that would improve things during the post-install process. Also, the reason you had much more updates after you installed without the network is because you didn't install them while installing. The "download and install updates while installing" feature is pretty nifty in that it grabs any serious and potentially damaging security and bug fixes prior to ever even installing Ubuntu.

Anyways, cheers chap!!! Welcome to Ubuntu, I hope we can live up to your wildest expectations!!! Also, check out www.omgubuntu.co.uk for daily news and fun things about the world of Ubuntu :-D

Revision history for this message
Júlio Cezar Santos Pires (juliocspires) wrote :

This problem is occurring in version Precise 12.04 32 bits iso.

Revision history for this message
Kevin John Panzke (kevpan815) wrote :

This bug affectes me 2 on Amd 64 Ubuntu 12.04 Nightly Build.

Revision history for this message
pham xuan chin (phamchin-hut) wrote :

i can't install anysoftware on U-S-T

Revision history for this message
Eddie Kane (eddiekane150) wrote :

First Update manager wouldn't update at all, had to update via synaptic or bash. Today update manager pops up telling me I have updates, then installs them, but when I click 'check' it hangs and crashes.

Revision history for this message
jouze (ze-jou) wrote :

update-manager, crash and program to install other applications crash to.

Changed in update-manager (Ubuntu):
assignee: nobody → jouze (ze-jou)
Revision history for this message
Chris (fabricator4) wrote :

This has been plaguing 12.04 Alpha 1 for weeks now. There seems to be some key python dependancies that have not been installed properly (even through "sudo apt-get upgrade") and so 63 updates are being held back. I'm wondering if all of these problems are due to the current problemss with python?

Chris

Revision history for this message
Britt Yazel (bwyazel) wrote :

hmm....@Chris, you shouldn't have 63 held back updates. Have you tried running "sudo apt-get dist-upgrade" to see if there is any possible dependancy resolution. I have had to run a dist-upgrade 2 or 3 times since I have started running the alpha. Right now I don't have any held back packages and a decently stable system.

**Tip: make sure when you run a dist-upgrade that it doesn't remove anything vital such as 'Ubuntu-Desktop'. Also, whenever it wants to remove a full application or library, make sure that it will also install either an updated version or a replacement application to take it's spot. AKA don't let it remove xserver-xorg unless it is going to install an updated version in its place ;-)

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Marking 'High' -> 'Has a moderate impact on a large portion of Ubuntu users (estimated)'
(I wonder if it's really the same cause as the one originally reported by David in 2010- on Precise we seem to have a whole bunch of people affected by it suddenly).

Changed in update-manager (Ubuntu):
importance: Undecided → High
Revision history for this message
David Gómez (dabisu) wrote :

Crashing here in 12.04. Besides update-manager doesn't update packages anymore, but that's a different bug already reported, although maybe they're kind of related.

Revision history for this message
Vince (thehappytrucker) wrote :

opened update-manager to check for updates.update-manager hanges.Rebooted.tried again.Let it hang there util it crashed

Revision history for this message
Ian Nicholson (imnichol) wrote : Re: [Bug 616721] Re: update-manager crashed with DBusException in update()

Does it work if you run it from the terminal with gksu?

Sent from my Palm PreOn Jan 1, 2012 13:35, Vince &lt;<email address hidden>&gt; wrote:

opened update-manager to check for updates.update-manager

hanges.Rebooted.tried again.Let it hang there util it crashed

--

You received this bug notification because you are subscribed to the bug

report.

https://bugs.launchpad.net/bugs/616721

Title:

  update-manager crashed with DBusException in update()

Status in “update-manager” package in Ubuntu:

  Confirmed

Bug description:

  Binary package hint: update-manager

  I was updating my sources while sending a bunch of ubuntu bug reports.

  Don't have much more than that to report.

  ProblemType: Crash

  DistroRelease: Ubuntu 10.10

  Package: update-manager 1:0.142.7

  ProcVersionSignature: Ubuntu 2.6.35-14.20-generic-pae 2.6.35

  Uname: Linux 2.6.35-14-generic-pae i686

  NonfreeKernelModules: nvidia

  Architecture: i386

  Date: Thu Aug 12 12:18:35 2010

  ExecutablePath: /usr/bin/update-manager

  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)

  InterpreterPath: /usr/bin/python2.6

  PackageArchitecture: all

  ProcCmdline: /usr/bin/python2.6 /usr/bin/update-manager

  ProcEnviron:

   PATH=(custom, user)

   LANG=en_US.UTF-8

   SHELL=/bin/bash

  PythonArgs: ['/usr/bin/update-manager']

  SourcePackage: update-manager

  Title: update-manager crashed with DBusException in update()

  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:

https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/616721/+subscriptions

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Got this crash on Precise by clicking on 'Check' in update-manager.

This is the error message I get from apt-daemon

18:42:39 AptDaemon [INFO]: Initializing daemon
18:42:39 AptDaemon [WARNING]: Replacing already running daemon
ERROR:dbus.proxies:Introspect error on :1.163:/org/debian/apt: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
  File "/usr/sbin/aptd", line 28, in <module>
    aptdaemon.core.main()
  File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 2157, in main
    daemon = AptDaemon(options, bus=bus)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 1350, in __init__
    timeout=300)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

Changed in update-manager (Ubuntu):
assignee: jouze (ze-jou) → nobody
Changed in update-manager (Ubuntu Precise):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
tags: added: rls-mgr-p-tracking
Revision history for this message
Michael Vogt (mvo) wrote :

This should be fixed now with the latest aptdaemon upload.

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

Please reopen if its not fixed with the latest aptdaemon upload.

Changed in update-manager (Ubuntu Precise):
status: Confirmed → Fix Released
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

This is fixed in Precise with
aptdaemon (0.43+bzr756-0ubuntu1) precise; urgency=low

  [ Chris Coulson ]
  * After simulating a transaction, correctly disconnect from the
    "transaction-simulated" signal

Revision history for this message
gare-calhoun (gare-calhoun) wrote :

Update manager crashed after installing 4 small updates. Running 12.04, beta1 .
It recently developed habit of clearing the update list 1 item at a time, and had several updates listed that were not available for download yet (checkboxes greyed out).

Revision history for this message
Steve Langasek (vorlon) wrote :

gare-calhoun, you should file a separate bug report for the issue you've encountered - preferrably using apport to gather the information about what crashed, so that we can debug it.

Revision history for this message
Israel Dahl (israeldahl) wrote :

I checked to see if there were any updates as I am testing 12.04 Beta, and I check daily for updates to see if the minor issues are fixed or new ones develop, and after clicking check for updates nothing happened, so I clicked again and it crashed.
So apport brought me to this page to contribute my experience
Minor issue, indeed.... But an issue

To post a comment you must log in.