[gutsy] update-manager "install" no longer upgrading anything

Bug #120572 reported by Fabien Tassin
4
Affects Status Importance Assigned to Milestone
Software Updater
Fix Released
Undecided
Unassigned

Bug Description

up-to-date Gutsy. update-manager 1:0.63.

Since 1:0.62->1:0.63, update-manager is no longer able to upgrade anything when clikcing on "Install". I just skip that jump to "refresh".
apt-get/synptic/dselect are all okay so it's not an issue with the status of either my system or the repo.

When run as root, it seems to work but when run as a normal user (either from a terminal or though the applet in the panel), it does what I describe.

Here is what it says in the shell:

fta@ix:~ $ update-manager

***MEMORY-WARNING***: update-manager[18172]: GSlice: g_thread_init() must be called before all other GLib functions; memory corruption due to late invocation of g_thread_init() has been detected; this program is likely to crash, leak or unexpectedly abort soon...
WARNING: upgradable but no canidateOrigin?!?: ca-certificates
current dist not found in meta-release file
could not send the dbus Inhibit signal: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/gnome-power-manager exited with status 0

***MEMORY-WARNING***: gksu[18525]: GSlice: g_thread_init() must be called before all other GLib functions; memory corruption due to late invocation of g_thread_init() has been detected; this program is likely to crash, leak or unexpectedly abort soon...
WARNING: upgradable but no canidateOrigin?!?: ca-certificates

fta@ix:~ $ /usr/bin/gnome-power-manager
fta@ix:~ $ echo $?
0

same effect with gnome-power-manager 2.19.2-0ubuntu4 and 2.19.3-0ubuntu1

Note: ca-certificates is just locked (see LP #114495)
Note2: it's a desktop

Revision history for this message
Fabien Tassin (fta) wrote :

additionnal info: that was with gnome-power-manager disabled in Gnome session. Re-enabling it didn't change anything (exact same logs).

fta@ix:~ $ ps auxw | grep pow
fta 6106 0.0 0.5 26652 11600 ? Ss Jun10 0:01 gnome-power-manager
fta@ix:~ $ /usr/bin/gnome-power-manager
fta@ix:~ $ echo $?
0

Revision history for this message
Juan Pablo Salazar Bertín (snifer) wrote :

If I run update-manager as non-root, after pressing "install updates", I get the following terminal output:

could not send the dbus Inhibit signal: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/gnome-power-manager exited with status 0

and updates are not installed.
If I run sudo update-manager, it works as expected.

Changed in update-manager:
status: Unconfirmed → Confirmed
Revision history for this message
Juan Pablo Salazar Bertín (snifer) wrote :

Since version 1:0.64 I'm no longer experiencing this issue. This is what I got in my last update (everything updated as expected):

snifer@snifer-laptop:~$ update-manager

***MEMORY-WARNING***: update-manager[6298]: GSlice: g_thread_init() must be called before all other GLib functions; memory corruption due to late invocation of g_thread_init() has been detected; this program is likely to crash, leak or unexpectedly abort soon...
current dist not found in meta-release file
could not send the dbus Inhibit signal: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/gnome-power-manager exited with status 0

***MEMORY-WARNING***: gksu[6314]: GSlice: g_thread_init() must be called before all other GLib functions; memory corruption due to late invocation of g_thread_init() has been detected; this program is likely to crash, leak or unexpectedly abort soon...

Revision history for this message
Fabien Tassin (fta) wrote :

confirm fix.

Changed in update-manager:
status: Confirmed → Fix Released
Revision history for this message
Fabien Tassin (fta) wrote :

In fact no. It seemed fixed but it's going back and forth. Failed the last few days, worked twice today, then failed twice a couple hours ago, then worked again. No idea what's appening.

Changed in update-manager:
status: Fix Released → Confirmed
Revision history for this message
Juan Pablo Salazar Bertín (snifer) wrote :

Are you running it with --dist-upgrade option when it doesn't work?
Bug #120484 is supposed to be fixed in version 1:0.64, but according to bug #121206 the problem still exists.

Revision history for this message
Fabien Tassin (fta) wrote :

I'm talking about #120572. It's neither dist upgrade, nor partial upgrade. Just plain upgrades using the "Install Updates" button, that no longer works. No particular error message.

Revision history for this message
Fabien Tassin (fta) wrote :

I've troubleshoot this case a little bit more.

When this problem occurs, update-manager has already passed the hand to synaptic.
synaptic seems happy at the beginning, it goes up to reading /var/lib/dpkg/info dir content then, it tries to read the file passed from update-manager through --set-selections-file. That file is no longer there as update-manager just deleted it (too early).

Then synaptic exits and the upgrade has been performed.

Revision history for this message
Fabien Tassin (fta) wrote :

I meant "Then synaptic exits and the upgrade has *not* been performed"

Revision history for this message
Fabien Tassin (fta) wrote :

closing as it's been fixed for a while.

Changed in update-manager:
status: Confirmed → Fix Released
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.