Package: dstat
Version: 0.7.0-1
Severity: serious

Hello,

the installation of dstat fails due to a compile error in postinst:

Preparing to replace dstat 0.6.9-1 (using .../archives/dstat_0.7.0-1_all.deb) 
...
Unpacking replacement dstat ...
Processing triggers for man-db ...
Setting up dstat (0.7.0-1) ...
Compiling /usr/share/dstat/dstat_mysql5_conn.py ...
  File "/usr/share/dstat/dstat_mysql5_conn.py", line 39
    self.set2['Threads'] = float(thread[1] / float(max[1]) 1.0 * 100)
                                                             ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (54)
pycentral pkginstall: error byte-compiling files (54)
dpkg: error processing dstat (--configure):
 subprocess installed post-installation script returned error exit status 1

$ COLUMNS=80 dpkg -l python python-central | grep ^.i
ii  python         2.5.4-2        An interactive high-level object-oriented la
ii  python-central 0.6.13         register and build utility for Python packag
$ python --version                                   
Python 2.5.4


regards
   Mario
-- 
Independence Day: Fortunately, the alien computer operating system works just
fine with the laptop. This proves an important point which Apple enthusiasts
have known for years. While the evil empire of Microsoft may dominate the
computers of Earth people, more advanced life forms clearly prefer Macs.

Attachment: signature.asc
Description: Digital signature

Reply via email to