ubuntu-release-upgrader doesn't depend on python-apport

Bug #1289604 reported by Brian Murray
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Fix Released
High
Brian Murray
Saucy
Fix Released
High
Brian Murray

Bug Description

Description:
A default Saucy system will not have python-apport installed and the crash handler in the release upgrade tarball needs python-apport to be able to create a crash report. Subsequently, we may not be receiving crash reports for every release upgrade crash.
The release upgrader runs with python2 because it needs to run on Precise and Saucy.

Test Case:
1) run python /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeApport.py (we are using python here because the release upgrader runs with python2 not 3)
2) notice a failed to import apport python module error message

With the package from -proposed you should receive a "Crash report" dialog saying that 'do-release-upgrade has stopped unexpectedly'. Do not submit the crash report.

This is because ubuntu-release-upgrader doesn't depend on python-apport and it is no longer depended on by anything else. I mean that package used to be installl on most Ubuntu systems because apport or ubuntuone-client depended on it.

Related branches

Changed in update-manager (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Brian Murray (brian-murray)
Changed in update-manager (Ubuntu Saucy):
status: New → Triaged
importance: Undecided → High
description: updated
description: updated
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Brian, or anyone else affected,

Accepted ubuntu-release-upgrader into saucy-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/1:0.205.5 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Changed in update-manager (Ubuntu Saucy):
status: Triaged → In Progress
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Brian Murray (brian-murray) wrote :

I installed ubuntu-release-upgrader version 0.205.5 from saucy-proposed and confirm that python-apport was installed and that the test case now passes.

affects: update-manager (Ubuntu) → ubuntu-release-upgrader (Ubuntu)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
ubuntu-release-upgrader (1:0.205.5) saucy-proposed; urgency=medium

  * debian/source_ubuntu-release-upgrader.py: create a DuplicateSignature by
    stripping out the tmpdir from the Traceback (LP: #1289580)
  * debian/control.py: depend on python-apport since DistUpgradeApport.py
    imports it and the release upgrader does not use python3 (LP: #1289604)
 -- Brian Murray <email address hidden> Fri, 07 Mar 2014 15:26:12 -0800

Changed in ubuntu-release-upgrader (Ubuntu Saucy):
status: In Progress → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for ubuntu-release-upgrader has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Brian Murray (brian-murray) wrote :

For trusty this should be python3-apport.

Revision history for this message
Brian Murray (brian-murray) wrote :

ubuntu-release-upgrader (1:0.216) trusty; urgency=medium

  * debian/control.py: depend on python3-apport since the release upgrader for
    U will be using python3 not python2.

 -- Brian Murray <email address hidden> Mon, 10 Mar 2014 10:01:49 -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.

Other bug subscribers

Remote bug watches

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