Package: dstat
Version: 0.7.0-1
Severity: grave
Justification: renders package unusable

Hi,
I get a SyntaxError while trying to install dstat 0.7.0-1

$ sudo aptitude install dstat
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done       
The following NEW packages will be installed:
  dstat 
0 packages upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 0B/72.0kB of archives. After unpacking 492kB will be used.
Writing extended state information... Done
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously deselected package dstat.
(Reading database ... 207779 files and directories currently installed.)
Unpacking dstat (from .../archives/dstat_0.7.0-1_all.deb) ...
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
Errors were encountered while processing:
 dstat
[ Rootkit Hunter version 1.3.4 ]
File updated: searched for 154 files, found 132
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
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
Errors were encountered while processing:
 dstat
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done       
Writing extended state information... Done
go...@clamp:~$

thanks for your work,
filippo

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dstat depends on:
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-central                0.6.13     register and build utility for Pyt

dstat recommends no packages.

dstat suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to