I can confirm this bug on Jaunty. This error shows up for a couple of days now. All other package upgrages are working normally, only fonttools fails to install/upgrade with:
---snip--- Setting up fonttools (2.2-2ubuntu1) ... Compiling /usr/lib/python2.6/dist-packages/FontTools/fontTools/ttLib/tables/ttProgram.py ... SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/dist-packages/FontTools/fontTools/ttLib/tables/ttProgram.py', 397, 3, '\tas = p.getAssembly()\n'))
pycentral: pycentral pkginstall: error byte-compiling files (91) pycentral pkginstall: error byte-compiling files (91) dpkg: error processing fonttools (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: fonttools E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up fonttools (2.2-2ubuntu1) ... Compiling /usr/lib/python2.6/dist-packages/FontTools/fontTools/ttLib/tables/ttProgram.py ... SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/dist-packages/FontTools/fontTools/ttLib/tables/ttProgram.py', 397, 3, '\tas = p.getAssembly()\n'))
pycentral: pycentral pkginstall: error byte-compiling files (91) pycentral pkginstall: error byte-compiling files (91) ---snap---
I can confirm this bug on Jaunty. This error shows up for a couple of days now. All other package upgrages are working normally, only fonttools fails to install/upgrade with:
---snip--- python2. 6/dist- packages/ FontTools/ fontTools/ ttLib/tables/ ttProgram. py ... lib/python2. 6/dist- packages/ FontTools/ fontTools/ ttLib/tables/ ttProgram. py', 397, 3, '\tas = p.getAssembly( )\n'))
Setting up fonttools (2.2-2ubuntu1) ...
Compiling /usr/lib/
SyntaxError: ('invalid syntax', ('/usr/
pycentral: pycentral pkginstall: error byte-compiling files (91) python2. 6/dist- packages/ FontTools/ fontTools/ ttLib/tables/ ttProgram. py ... lib/python2. 6/dist- packages/ FontTools/ fontTools/ ttLib/tables/ ttProgram. py', 397, 3, '\tas = p.getAssembly( )\n'))
pycentral pkginstall: error byte-compiling files (91)
dpkg: error processing fonttools (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
fonttools
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up fonttools (2.2-2ubuntu1) ...
Compiling /usr/lib/
SyntaxError: ('invalid syntax', ('/usr/
pycentral: pycentral pkginstall: error byte-compiling files (91)
pycentral pkginstall: error byte-compiling files (91)
---snap---