dist-upgrade.py returns 1 due to /var/log/dist-upgrade/* not found in P2Q server upgrades

Bug #1059403 reported by Para Siva
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Fix Released
High
Brian Murray

Bug Description

During the latest (3 days leading upto 20121001) quantal server upgrades from precise meet the following failure.

extracting 'quantal.tar.gz'
Traceback (most recent call last):
  File "/tmp/update-manager-rA1F55/quantal", line 6, in <module>
    from DistUpgrade.DistUpgradeMain import main
  File "/tmp/update-manager-rA1F55/DistUpgrade/DistUpgradeMain.py", line 56, in <module>
    from .DistUpgradeController import DistUpgradeController
  File "/tmp/update-manager-rA1F55/DistUpgrade/DistUpgradeController.py", line 62, in <module>
    from .DistUpgradeView import STEP_PREPARE, STEP_MODIFY_SOURCES, STEP_FETCH, STEP_INSTALL, STEP_CLEANUP, STEP_REBOOT
  File "/tmp/update-manager-rA1F55/DistUpgrade/DistUpgradeView.py", line 35, in <module>
    from .DistUpgradeApport import apport_pkgfailure
  File "/tmp/update-manager-rA1F55/DistUpgrade/DistUpgradeApport.py", line 10, in <module>
    from apport.hookutils import root_command_output
ImportError: No module named apport.hookutils
scp: /var/log/dist-upgrade/*: No such file or directory

https://jenkins.qa.ubuntu.com/view/Quantal/view/Upgrade%20Testing%20Dashboard/job/quantal-upgrade-precise-server/155/ARCH=amd64,LTS=non-lts,PROFILE=server,label=upgrade-test/

contains the logs

Para Siva (psivaa)
tags: added: dist-upgrade
tags: added: p2q
Para Siva (psivaa)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
Changed in update-manager (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Brian Murray (brian-murray)
importance: Undecided → High
affects: update-manager (Ubuntu) → ubuntu-release-upgrader (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:0.182

---------------
ubuntu-release-upgrader (1:0.182) quantal; urgency=low

  * source_ubuntu_release_upgrader.py: Do not try to add apt-clone system
    state if it does not exist
  * DistUpgradeApport.py: handle the case where python-apport is not installed
    (LP: #1059403)
 -- Brian Murray <email address hidden> Mon, 01 Oct 2012 12:56:39 -0700

Changed in ubuntu-release-upgrader (Ubuntu):
status: In Progress → 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.