Comment 12 for bug 186465

Revision history for this message
Paul Webster (pwebster) wrote : RE: [Bug 186465] Re: "distribution upgrade" hangs during update to hardy
  • unnamed Edit (5.4 KiB, application/ms-tnef; name="winmail.dat")

Has anyone been successful skipping any pieces of the upgrade. I tried deselecting random pieces but never had any more apparent success. However, I was running through the update gui. There were 155 updates so it is pretty hard to figure out which one or more is the problem.

pw

________________________________

From: <email address hidden> on behalf of jan.tore.korneliussen
Sent: Sat 4/5/2008 11:38 AM
To: Paul Webster
Subject: [Bug 186465] Re: "distribution upgrade" hangs during update to hardy

I did a little more research on this one, and it seems the gui thread freezes at some point (at various places it seems), and then the worker thread goes on somewhat longer, until the next communication point with the gui thread. Why do I suspect this?
* If I comment out places in the code where the worker thread contacts the gui thread (the "view" object), I can make the installation go on a bit further.
* I can also see through logging that there is some further activity in the worker thread when the gui has frozen its repainting.

Therfore I think it makes sense to focus on DistUpgradeViewGtk.py.

I tried uninstalling some GTK/python development tools, that did not
change anything

--
"distribution upgrade" hangs during update to hardy
https://bugs.launchpad.net/bugs/186465
You received this bug notification because you are a direct subscriber
of the bug.

Status in Update Manager: Confirmed

Bug description:
I tried upgrading to Hardy using "update-manager -d". After checking for updates, I get a button to upgrade to 8.04, which I pressed. This brings up the distribution upgrade dialog, showing the various steps its going to do. This dialog shows the progress bar advancing a bit, and then it becomes totally unresponsive, not even repainting its own window.

see also http://ubuntuforums.org/showthread.php?t=676090

The terminal shows

mbp@lithe% sudo update-manager -d
warning: could not initiate dbus
extracting '/tmp/tmpT6yx7G/hardy.tar.gz'
authenticate '/tmp/tmpT6yx7G/hardy.tar.gz' against '/tmp/tmpT6yx7G/hardy.tar.gz.gpg'
zsh: quit (core dumped) sudo update-manager -d

/var/log/dist-upgrade/main.log has

2008-01-28 10:00:50,223 INFO release-upgrader version '0.87.4' started
2008-01-28 10:00:50,762 DEBUG Using 'DistUpgradeViewGtk' view
2008-01-28 10:00:50,948 DEBUG lsb-release: 'gutsy'
2008-01-28 10:00:50,949 DEBUG _pythonSymlinkCheck run
2008-01-28 10:00:52,279 DEBUG checkViewDepends()