Comment 6 for bug 1023964

Revision history for this message
Martin Pitt (pitti) wrote :

This was a deliberate decision from the foundations team. python-launchpadlib is not yet available for python 3, so apport-collect has to use python 2 still. But as apport-collect is not required for core desktop operations, only for the rather advanced task (from the perspective of a user of a stable release) of following up to Launchpad bug reports, we just added the error message which points out that you need to install it manually. See the changelog:

apport (2.2.1-0ubuntu1) quantal; urgency=low
[...]
  * Move to Python 3, except for the parts that need python-launchpadlib
    (which is not yet available for Python 3):
    - debian/control: Add python3-problem-report and python3-apport packages.
    - debian/control: Switch build and binary dependencies to Python 3
      equivalents, except for apport-retrace.
    - debian/rules: Override dh_auto_* to also handle python3-* packages (see
      Debian #597105).
    - debian/rules: Run test suite with Python 3.
    - debian/rules: Switch hashbang line of apport-retrace back to Python 2.
    - Move /etc/apport/crashdb.conf from python-apport to apport, and
      recommend apport from both python{,3}-apport.
  * bin/apport-bug: Force running with python 2 when being invoked as
    apport-collect, and add a check/error message that you need to install
    python-apport to use this.
[...]