[Oneiric] update-manager crashed with DBusException in _run(): 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.

Bug #819328 reported by Sam_
112
This bug affects 14 people
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)
Fix Released
High
Michael Vogt
Oneiric
Fix Released
High
Michael Vogt

Bug Description

Run update-manager and get authentication dialog window, which surprised me because it wasn't expected since it never asked for a passwd before and it was told that this is by design, see comment #9 in Bug #814331
## It should also be clarified which policy is correct authentication request or not in order to know which behaviour is a bug.

Then I obviously waited too long to insert a passwd and it crashed unexpected.
When returning to workspace with still running update-manager it states all updates done, system ist up-to-date.
When there're new updates available I'll try to reproduce the crash by not inserting a passwd and just doing nothing.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: update-manager 1:0.152.9
ProcVersionSignature: Ubuntu 3.0.0-7.9-generic 3.0.0
Uname: Linux 3.0.0-7-generic x86_64
Architecture: amd64
Date: Mon Aug 1 16:38:42 2011
DpkgHistoryLog.txt:

DpkgTerminalLog.txt:

ExecutablePath: /usr/bin/update-manager
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110423)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/update-manager --no-focus-on-map
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/update-manager', '--no-focus-on-map']
SourcePackage: update-manager
Title: update-manager crashed with DBusException in _run(): 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.
UpgradeStatus: Upgraded to oneiric on 2011-07-30 (1 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Related branches

Revision history for this message
Sam_ (and-sam) wrote :
visibility: private → public
Sam_ (and-sam)
description: updated
description: updated
Sam_ (and-sam)
description: updated
Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Looks like a regression of bug 626798
Marking as high and targeting to Oneiric due to the number of duplicates filing quickly.

Changed in update-manager (Ubuntu):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
importance: Undecided → High
affects: update-manager (Ubuntu) → aptdaemon (Ubuntu)
Revision history for this message
Sam_ (and-sam) wrote :

FWIW, lines from .xsession-errors.
(update-manager:2610): Gtk-WARNING **: Attempting to add a widget with type aptdaemon+gtk3widgets+AptProgressDialog to a GtkWindow, but as a GtkBin subclass a GtkWindow can only contain one widget at a time; it already contains a widget of type GtkVBox
(polkit-gnome-authentication-agent-1:1499): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate toplevel PolkitGnomeAuthenticationDialog 0x136e040. Allocation is 640x197, but minimum required size is 321x222.

Complete .xsession-errors from today is in Bug #819370

Revision history for this message
Sam_ (and-sam) wrote :

Just did an update with it, no crash and no authentication request. Odd.

Revision history for this message
Sam_ (and-sam) wrote :

The crash obviously only occurs when there is an authentication request and pw not immediately or fast enough inserted.
Since #4 there no authentication request and no crash.
Just now ran update-manager, where it displayed authentication request to install updates, insert pwd and it crasht.
While writing here it spins and obviously updates, stating then it's updated.

Changed in aptdaemon (Ubuntu Oneiric):
assignee: Canonical Foundations Team (canonical-foundations) → Michael Vogt (mvo)
Michael Vogt (mvo)
Changed in aptdaemon (Ubuntu Oneiric):
status: Confirmed → In Progress
tags: removed: need-duplicate-check
Brad Figg (brad-figg)
tags: added: rls-mgr-o-tracking
Revision history for this message
Michael Vogt (mvo) wrote :

This is fixed with:

aptdaemon (0.43+bzr695) oneiric; urgency=low

  * New bzr snapshot:
    - Make TransactionProgressDialog.run() method deferable

 -- Michael Vogt <email address hidden> Wed, 14 Sep 2011 15:48:01 +0200

Changed in aptdaemon (Ubuntu Oneiric):
status: In Progress → Fix Released
Revision history for this message
David Biesack (david-biesack-sas) wrote :

How does one get this fix? I get the same error message when I run update-manager
and if I run

  sudo apt-get update

I get a list of packages downloaded but the update does not do anything...

sudo apt-get update
.....
Get:29 http://us.archive.ubuntu.com oneiric-updates/restricted amd64 Packages [2982 B]
Get:30 http://us.archive.ubuntu.com oneiric-updates/universe amd64 Packages [94.8 kB]
Get:31 http://us.archive.ubuntu.com oneiric-updates/multiverse amd64 Packages [5746 B]
Get:32 http://us.archive.ubuntu.com oneiric-updates/main i386 Packages [285 kB]
Get:33 http://us.archive.ubuntu.com oneiric-updates/restricted i386 Packages [2968 B]
Get:34 http://us.archive.ubuntu.com oneiric-updates/universe i386 Packages [95.1 kB]
Get:35 http://us.archive.ubuntu.com oneiric-updates/multiverse i386 Packages [6336 B]
Get:36 http://us.archive.ubuntu.com oneiric-updates/main TranslationIndex [74 B]
Get:37 http://us.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex [72 B]
Get:38 http://us.archive.ubuntu.com oneiric-updates/restricted TranslationIndex [71 B]
Get:39 http://us.archive.ubuntu.com oneiric-updates/universe TranslationIndex [73 B]
Hit http://us.archive.ubuntu.com oneiric/main Translation-en
Hit http://us.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://us.archive.ubuntu.com oneiric/restricted Translation-en
Hit http://us.archive.ubuntu.com oneiric/universe Translation-en
Hit http://us.archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://us.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com oneiric-updates/universe Translation-en
Fetched 1171 kB in 19s (61.0 kB/s)
Reading package lists... Done

and it stops there and it appears to leave /var/lib/dpkg/lock around, too

Revision history for this message
Sebastian Heinlein (glatzor) wrote : Re: [Bug 819328] Re: [Oneiric] update-manager crashed with DBusException in _run(): 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.

David Biesack <email address hidden> schrieb:

>How does one get this fix? I get the same error message when I run
>update-manager
>and if I run
>
> sudo apt-get update
>
>I get a list of packages downloaded but the update does not do
>anything...
>
>sudo apt-get update
>.....
>Get:29 http://us.archive.ubuntu.com oneiric-updates/restricted amd64
>Packages [2982 B]
>Get:30 http://us.archive.ubuntu.com oneiric-updates/universe amd64
>Packages [94.8 kB]
>Get:31 http://us.archive.ubuntu.com oneiric-updates/multiverse amd64
>Packages [5746 B]
>Get:32 http://us.archive.ubuntu.com oneiric-updates/main i386 Packages
>[285 kB]
>Get:33 http://us.archive.ubuntu.com oneiric-updates/restricted i386
>Packages [2968 B]
>Get:34 http://us.archive.ubuntu.com oneiric-updates/universe i386
>Packages [95.1 kB]
>Get:35 http://us.archive.ubuntu.com oneiric-updates/multiverse i386
>Packages [6336 B]
>Get:36 http://us.archive.ubuntu.com oneiric-updates/main
>TranslationIndex [74 B]
>Get:37 http://us.archive.ubuntu.com oneiric-updates/multiverse
>TranslationIndex [72 B]
>Get:38 http://us.archive.ubuntu.com oneiric-updates/restricted
>TranslationIndex [71 B]
>Get:39 http://us.archive.ubuntu.com oneiric-updates/universe
>TranslationIndex [73 B]
>Hit http://us.archive.ubuntu.com oneiric/main Translation-en
>Hit http://us.archive.ubuntu.com oneiric/multiverse Translation-en
>Hit http://us.archive.ubuntu.com oneiric/restricted Translation-en
>Hit http://us.archive.ubuntu.com oneiric/universe Translation-en
>Hit http://us.archive.ubuntu.com oneiric-updates/main Translation-en
>Hit http://us.archive.ubuntu.com oneiric-updates/multiverse
>Translation-en
>Hit http://us.archive.ubuntu.com oneiric-updates/restricted
>Translation-en
>Hit http://us.archive.ubuntu.com oneiric-updates/universe
>Translation-en
>Fetched 1171 kB in 19s (61.0 kB/s)
>Reading package lists... Done
>
>and it stops there and it appears to leave /var/lib/dpkg/lock around,
>too
>
>--
>You received this bug notification because you are a member of
>Aptdaemon
>Developers, which is subscribed to aptdaemon in Ubuntu.
>https://bugs.launchpad.net/bugs/819328
>
>Title:
> [Oneiric] update-manager crashed with DBusException in _run():
> 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.
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/819328/+subscriptions

You have to use the following command: sudo apt-get upgrade

See man apt-get
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

Revision history for this message
David Biesack (david-biesack-sas) wrote :

I guess my problem was not running Gnome3 - I was running a bare Xsession session with openbox window manager.
I logged out, then logged in with a Gnome3 Unity session, and update-manager is working OK for me
and downloading and applying changes. So for me the but is that update-manager does not work in
an Xsession (when I ran it there, I never got a password prompt for the sudo behavior).

(I still don't know why 'sudo apt-get update' failed as that should not need any gui components)

Revision history for this message
Vincenzo Mazzotta (vincenzo-mazzotta-it) wrote :

This problem exist from one week ago with last update.

I downloaded a GTK update I suppose that this bug went out from this update...

Please investigate and close as soon as possible because system is totally unstable...

It's a blocked bug...

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

You need a policykit agent in your custom x session. Otherwise you cannot authenticate to aptdaemon.
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Vincenzo Mazzotta <email address hidden> schrieb:

>This problem exist from one week ago with last update.
>
>I downloaded a GTK update I suppose that this bug went out from this
>update...
>
>Please investigate and close as soon as possible because system is
>totally unstable...
>
>It's a blocked bug...
>
>--
>You received this bug notification because you are a member of
>Aptdaemon
>Developers, which is subscribed to aptdaemon in Ubuntu.
>https://bugs.launchpad.net/bugs/819328
>
>Title:
> [Oneiric] update-manager crashed with DBusException in _run():
> 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.
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/819328/+subscriptions

Vincenzo, please update your system using synaptic or the command line: apt-get upgrade

What does unstable mean? If you get random crashes it is most likely a hardware problem.
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

Revision history for this message
David Biesack (david-biesack-sas) wrote :

Can someone describe what "You need a policykit agent in your custom x session" means - how does one achieve this? I'm not having much luck finding documentation/guides on this.
'apt-get upgrade' from a console window works for me but update-manager still fails.

Or better yet, is there a guide for "missing" components that one should add in a bare xsession in order to get essential features working like update-manager.

Revision history for this message
Sebastian Heinlein (glatzor) wrote : Re: [Bug 819328] Re: [Oneiric] update-manager crashed with DBusException in _run(): 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.

Am Montag, den 27.02.2012, 14:30 +0000 schrieb David Biesack:
> Can someone describe what "You need a policykit agent in your custom x session" means - how does one achieve this? I'm not having much luck finding documentation/guides on this.
> 'apt-get upgrade' from a console window works for me but update-manager still fails.
>
> Or better yet, is there a guide for "missing" components that one should
> add in a bare xsession in order to get essential features working like
> update-manager.

This is a little bit off topic. It could be useful to launch the
following services in our .Xsession. It is up to you to decide what you
want or not:

eval `dbus-launch --sh-syntax --exit-with-session`
gnome-settings-daemon # themes, resolutions ...
gnome-power-manager
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
nm-applet # if you are using network manager
eval `gnome-keyring-daemon` # for passwords
/usr/lib/seahorse/seahorse-ssh-askpass
update-notifier

AFAIK update-manager requires the session dbus service and the polkit
agent.

http://awesome.naquadah.org/wiki/Quickly_Setting_up_Awesome_with_Gnome

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.