package python-pyfribidi 0.6.0-4 failed to install/upgrade: il sottoprocesso post-installation script ha restituito un codice di errore 1

Bug #301697 reported by Danilo
30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyfribidi (Ubuntu)
Invalid
Undecided
Unassigned
python-central (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

root@ubuntu-desktop:~# lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
root@ubuntu-desktop:~# apt-cache policy python-pyfribidi
python-pyfribidi:
  Installato: 0.6.0-4
  Candidato: 0.6.0-4
  Tabella versione:
 *** 0.6.0-4 0
        500 http://archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 8.10
ErrorMessage: il sottoprocesso post-installation script ha restituito un codice di errore 1
Package: python-pyfribidi 0.6.0-4
SourcePackage: pyfribidi
Title: package python-pyfribidi 0.6.0-4 failed to install/upgrade: il sottoprocesso post-installation script ha restituito un codice di errore 1
Uname: Linux 2.6.27-8-generic x86_64

Revision history for this message
Danilo (danilo86) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The cause of the failure is
=====
Configuro python-pyfribidi (0.6.0-4) ...
  File "/usr/bin/pycentral", line 1448
    packages = [(p, v) for p, v in read_dpkg_status()
                  ^
SyntaxError: invalid syntax
dpkg: errore processando python-pyfribidi (--configure):
 il sottoprocesso post-installation script ha restituito un codice di errore 1
Processing triggers for libc6 ...
=====

Adding pycentral task.

Revision history for this message
Michael Vogt (mvo) wrote :

Here are the various errors in the log. It seems like there is something odd with the python install, I doubt that the "invalid synatax" errors are valid. What is the output if you run "python --version" ?

"""
dpkg: errore processando /var/cache/apt/archives/python-openssl-dbgsym_0.7-2_amd64.ddeb (--unpack):^M
 tentata sovrascrittura di `/usr/lib/debug/usr/lib/python2.4/site-packages/OpenSSL/crypto.so', che si trova anche nel pacchetto python-openssl-dbg^M
...
Configuro aolserver4 (4.5.0-15) ...^M
 * Starting web server aolserver4 ^[[157G /usr/sbin/aolserver4-nsd: error while loading shared libraries: libnsd.so: cannot open shared object file: No such file or directory^M
^M^[[151G[^[[31mfail^[[39;49m]^M
invoke-rc.d: initscript aolserver4, action "start" failed.^M
dpkg: errore processando aolserver4 (--configure):^M
 il sottoprocesso post-installation script ha restituito un codice di errore 1^M
...
Configuro tripwire (2.3.1.2.0-12) ...^M
Generating site key (this may take several minutes)...^M
Generating local key (this may take several minutes)...^M
dpkg: errore processando tripwire (--configure):^M
 il sottoprocesso post-installation script ha restituito un codice di errore 1^M
...
Configuro system-tools-backends (2.6.0-1ubuntu1.1) ...^M
 * Starting System Tools Backends system-tools-backends ^[[157G invoke-rc.d: initscript system-tools-backends, action "start" failed.^M
dpkg: errore processando system-tools-backends (--configure):^M
 il sottoprocesso post-installation script ha restituito un codice di errore 1^M
...
Configuro python-wxgtk2.6 (2.6.3.2.2-2ubuntu5) ...^M
Compiling /usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/calendar.py ...^M
  File "/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/calendar.py", line 11^M
    if (name == "this"):^M
              ^^M
SyntaxError: invalid syntax^M
^M
Compiling /usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/lib/fancytext.py ...^M
  File "/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/lib/fancytext.py", line 331^M
    raise ValueError('error parsing text text "%s": %s' % (str, err))^M
                                                              ^^M
SyntaxError: invalid syntax^M
^M
Compiling /usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/xrc.py ...^M
  File "/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/xrc.py", line 12^M
    if (name == "this"):^M
              ^^M
SyntaxError: invalid syntax^M
^M
...
Processing triggers for python-support ...^M
  File "/usr/lib/python2.5/compileall.py", line 57^M
    cfile = fullname + (__debug__ and 'c' or 'o')^M
                                    ^^M
SyntaxError: invalid syntax^M
...
""""

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

For reference :
The python version provided by the reporter in bug 282959 is
ubuntu@ubuntu-desktop:~$ python -V
Python 2.5.2

- The aolserver4 failure is bug 274773 and is triaged
- The tripwire bug has been filed as bug 292408
- The system-tools-backends issue has been sorted out by Chris Coulson in bug 294389 and a fix is waiting for approval
- The python-wxgtk2.6 bug has been filed as bug 297921

The remaining issues are the python-support and this report.

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

fixed in jaunty

Changed in pyfribidi (Ubuntu):
status: New → Invalid
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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