update-manager crashes when upgrading cleanly re-installed box with jaunty RC to jaunty final

Bug #366048 reported by Martin Olsson
26
This bug affects 2 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Medium
Michael Vogt
Jaunty
Fix Released
Medium
Michael Vogt

Bug Description

TEST CASE:
1. run "sudo update-manager --partial-upgrade"
2. verfiy that it crashes when the download of the upgradable packages finishes

3. install update-manager from jaunty-proposed
4. verify that that step 2 works and installs packages

mnemo@kingfish:~$ update-manager
ERROR:root:failed to import apport python module, can't report bug: No module named python_hook
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSnone
mnemo@kingfish:~$ update-manager
ERROR:root:not handled expection:
Traceback (most recent call last):

  File "/usr/bin/update-manager", line 100, in <module>
    controler.doPartialUpgrade()

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeController.py", line 1595, in doPartialUpgrade
    if not self.doDistUpgrade():

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeController.py", line 972, in doDistUpgrade
    self.quirks.run("StartUpgrade")

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeQuirks.py", line 77, in run
    for plugin in self.plugin_manager.get_plugins(condition):

  File "/usr/lib/python2.6/dist-packages/computerjanitor/plugin.py", line 167, in get_plugins
    filenames = self.get_plugin_files()

  File "/usr/lib/python2.6/dist-packages/computerjanitor/plugin.py", line 120, in get_plugin_files
    basenames = [x for x in os.listdir(dirname)

OSError: [Errno 2] No such file or directory: './plugins'

ERROR:root:failed to import apport python module, can't report bug: No module named python_hook
none
mnemo@kingfish:~$ update-manager
ERROR:root:not handled expection:
Traceback (most recent call last):

  File "/usr/bin/update-manager", line 100, in <module>
    controler.doPartialUpgrade()

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeController.py", line 1595, in doPartialUpgrade
    if not self.doDistUpgrade():

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeController.py", line 972, in doDistUpgrade
    self.quirks.run("StartUpgrade")

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeQuirks.py", line 77, in run
    for plugin in self.plugin_manager.get_plugins(condition):

  File "/usr/lib/python2.6/dist-packages/computerjanitor/plugin.py", line 167, in get_plugins
    filenames = self.get_plugin_files()

  File "/usr/lib/python2.6/dist-packages/computerjanitor/plugin.py", line 120, in get_plugin_files
    basenames = [x for x in os.listdir(dirname)

OSError: [Errno 2] No such file or directory: './plugins'

ERROR:root:failed to import apport python module, can't report bug: No module named python_hook
none
mnemo@kingfish:~$

Related branches

Revision history for this message
Martin Olsson (mnemo) wrote :

FWIW, I don't have a ~/.plugins folder:

mnemo@kingfish:~$ ls -al .plugins
ls: cannot access .plugins: No such file or directory
mnemo@kingfish:~$ ls -al .pluginsa
ls: cannot access .pluginsa: No such file or directory
mnemo@kingfish:~$ ls -l | g plug
mnemo@kingfish:~$ ls -al | g plug
drwx------ 2 mnemo mnemo 4,0K 2009-04-22 19:31 .icedteaplugin/
mnemo@kingfish:~$

Revision history for this message
Martin Olsson (mnemo) wrote :

mnemo@kingfish:~$ dpkg -l | g update-manager
ii update-manager 1:0.111.7 GNOME application that manages apt updates
ii update-manager-core 1:0.111.7 manage release upgrades

Revision history for this message
Martin Olsson (mnemo) wrote :

mnemo@kingfish:~$ dpkg -l | g update-manager-core
ii update-manager-core 1:0.111.7 manage release upgrades

Michael Vogt (mvo)
Changed in update-manager (Ubuntu):
assignee: nobody → Michael Vogt (mvo)
importance: Undecided → Medium
milestone: none → jaunty-updates
status: New → In Progress
Revision history for this message
Michael Vogt (mvo) wrote :

Also commited to the karmic branch

description: updated
Changed in update-manager (Ubuntu Jaunty):
assignee: nobody → Michael Vogt (mvo)
importance: Undecided → Medium
milestone: none → jaunty-updates
status: New → Fix Committed
Changed in update-manager (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted update-manager into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in update-manager (Ubuntu):
milestone: jaunty-updates → none
tags: added: verification-needed
Revision history for this message
Ara Pulido (ara) wrote :

I was affected by this bug.
Partial upgrading my jaunty system crashed update-manager.

After installing the latest update-manager in -proposed (1:0.111.9) I completed the partial upgrade without issues.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Steve Beattie (sbeattie) wrote :

Confirmed here as well that the version of update-manager in -proposed, 1:0.111.9, fixes the crash when update-manager --dist-upgrade is invoked. updates continue to work with the version in -proposed as well.

Revision history for this message
Will (war59312) wrote :

I too can confirm that the proposed build fixes the problem. :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.111.9

---------------
update-manager (1:0.111.9) jaunty-proposed; urgency=low

  * DistUpgrade/DistUpgradeCache.py:
    - increase the size that the kernel requires in /boot
      (LP: #365623)
  * DistUpgrade/DistUpgradeApport.py:
    - fix apport hook integration (LP: #366048)
  * DistUpgrade/DistUpgradeController.py:
    - fix crash in partial upgrade (LP: #366048)
  * DistUpgrade/DistUpgradeQuirks.py:
    - make the gwenview upgrade transition more robust
      (LP: #365840)

 -- Michael Vogt <email address hidden> Fri, 24 Apr 2009 14:41:14 +0200

Changed in update-manager (Ubuntu Jaunty):
status: Fix Committed → Fix Released
Michael Vogt (mvo)
Changed in update-manager (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.