python-central byte-compile fails in upgrades of many packages.

Bug #435003 reported by Daniel Duan
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-central (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: python-central

This happened and has been going after I upgrade from 9.04 to 9.10 alpha 5.
Whenever I do sudo apt-get dist-upgrade, I get error messages as following:

Setting up python-lazr-uri (1.0-0ubuntu1) ...
  File "/usr/bin/py_compilefiles", line 27
    print "file does not exist:", fullname
                               ^
SyntaxError: invalid syntax
pycentral: pycentral pkginstall: error byte-compiling files (17)
pycentral pkginstall: error byte-compiling files (17)
dpkg: error processing python-lazr-uri (--configure):
 subprocess installed post-installation script returned error exit status 1

followed by a LONG list of more error messages caused by dependency problems or similar ones as above. Find more details in the file attached.

This affects the upgrade/install of many packages, in my case, at these ones are among them:

  apport apport-gtk desktopcouch evolution-couchdb gcj-4.4-jre-lib gij-4.3
  gnome-orca libgcj-bc libgcj-common libgcj10 libgcj9-0 libgcj9-0-awt
  libgcj9-jar libjaxp1.3-java-gcj libxerces2-java-gcj python-apport
  python-configglue python-desktopcouch python-desktopcouch-records
  python-launchpadlib python-lazr-restfulclient python-lazr-uri
  python-matplotlib python-oauth python-pyatspi python-speechd
  python-twisted-core python-twisted-names python-twisted-web python-tz
  python-ubuntuone-client python-ubuntuone-storageprotocol python-wadllib
  ubuntuone-client ubuntuone-client-gnome

Revision history for this message
Daniel Duan (daniel-duan) wrote :
summary: - python_central byte-compile fails in upgrades of many packages.
+ python-central byte-compile fails in upgrades of many packages.
Revision history for this message
hexa- (mweinelt-deactivatedaccount) wrote :

Can confirm, package is broken for me as well.

1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up python-oauth (1.0a~svn1124-0ubuntu2) ...
  File "/usr/bin/py_compilefiles", line 27
    print "file does not exist:", fullname
                               ^
SyntaxError: invalid syntax
pycentral: pycentral pkginstall: error byte-compiling files (7)
pycentral pkginstall: error byte-compiling files (7)
dpkg: error processing python-oauth (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 python-oauth
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Matthias Klose (doko) wrote :

fixed in 0.6.11ubuntu9

Matthias Klose (doko)
Changed in python-central (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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