package python3 3.2.3-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 4

Bug #1012707 reported by Chris Johnston
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python3-defaults (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Received this error while trying to upgrade from precise to quantal

ProblemType: Package
DistroRelease: Ubuntu 12.10
Package: python3 3.2.3-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.2.2-0ubuntu1
Architecture: amd64
Date: Wed Jun 13 10:43:08 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 4
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
PackageArchitecture: all
SourcePackage: python3-defaults
Title: package python3 3.2.3-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 4
UpgradeStatus: Upgraded to quantal on 2012-06-13 (0 days ago)

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

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

Changed in python3-defaults (Ubuntu):
status: New → Confirmed
Revision history for this message
Edward Donovan (edward.donovan) wrote :

It looks like the problem is print statements incompatible with python3, like these examples, and many more:

Setting up python3 (3.2.3-0ubuntu1) ...
running python rtupdate hooks for python3.2...
  File "/usr/share/apport/apport-gpu-error-intel.py", line 156
    print "# %s" %(report_filename)
               ^
SyntaxError: invalid syntax

Sorry: TabError: inconsistent use of tabs and spaces in indentation (_audio_data.py, line 25)
  File "/usr/share/apport/package-hooks/udisks2.py", line 30
    print '%s: "%s"' % (k, v)
                   ^
SyntaxError: invalid syntax

  File "/usr/share/apport/package-hooks/source_x11proto-fontcache.py", line 695
    print "Unreportable bug"
                           ^
SyntaxError: invalid syntax

  File "/usr/share/apport/package-hooks/source_xdiagnose.py", line 695
    print "Unreportable bug"
                           ^

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.