SyntaxError: invalid syntax while setting up package

Bug #589746 reported by Andreas Schildbach
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-codec-install (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gnome-codec-install

This is on maverick alpha 1, while upgrading from lucid final:

Setting up gnome-codec-install (0.4.5ubuntu2) ...
Compiling /usr/lib/python2.4/site-packages/GnomeCodecInstall/PackageWorker.py ...
  File "/usr/lib/python2.4/site-packages/GnomeCodecInstall/PackageWorker.py", line 48
    trans = yield self.client.commit_packages(
                ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (8)
pycentral pkginstall: error byte-compiling files (8)
dpkg: error processing gnome-codec-install (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 gnome-codec-install
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gnome-codec-install 0.4.5ubuntu2
ProcVersionSignature: Ubuntu 2.6.34-5.13-generic 2.6.34
Uname: Linux 2.6.34-5-generic i686
Architecture: i386
Date: Fri Jun 4 17:39:39 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100113)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: gnome-codec-install

Revision history for this message
Andreas Schildbach (schildbach) wrote :
Revision history for this message
paul.drover (paul-drover) wrote :

It seems that I too cannot complete the install of 10.10 from 10.04. It failed initially and now when I try to fix it:

paul@infinity:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 152 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up gnome-codec-install (0.4.5ubuntu2) ...
Compiling /usr/lib/python2.4/site-packages/GnomeCodecInstall/PackageWorker.py ...
  File "/usr/lib/python2.4/site-packages/GnomeCodecInstall/PackageWorker.py", line 48
    trans = yield self.client.commit_packages(
                ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (8)
pycentral pkginstall: error byte-compiling files (8)
dpkg: error processing gnome-codec-install (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 gnome-codec-install
E: Sub-process /usr/bin/dpkg returned an error code (1)

I don't know enough about Python to suggest what the error might be. I've subscribed to this bug.
Paul.

Revision history for this message
paul.drover (paul-drover) wrote :

Searching net and found this: http://osdir.com/ml/debian-bugs-closed/2010-06/msg00148.html

Will the that fix work here? How do we install?

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.