[Bug 1059403] Re: dist-upgrade.py returns 1 due to /var/log/dist-upgrade/* not found in P2Q server upgrades

Launchpad Bug Tracker 1059403 at bugs.launchpad.net
Mon Oct 1 22:32:11 UTC 2012


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 <brian at ubuntu.com>   Mon, 01 Oct 2012 12:56:39 -0700

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1059403

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

Status in “ubuntu-release-upgrader” package in Ubuntu:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1059403/+subscriptions




More information about the foundations-bugs mailing list