07-07-2016, 07:28 AM
Using the new Debian Base image: pine64-image-debianbase-310102bsp.img
Got following error when install Dstat. Any help?? This is the first distro i encounter that cannot install dstat.
root@pine64:/home/debian# apt-get install dstat
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
dstat
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 50.5 kB of archives.
After this operation, 351 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ jessie/main dstat all 0.7.2-4 [50.5 kB]
Fetched 50.5 kB in 1s (31.1 kB/s)
Selecting previously unselected package dstat.
(Reading database ... 88108 files and directories currently installed.)
Preparing to unpack .../archives/dstat_0.7.2-4_all.deb ...
Unpacking dstat (0.7.2-4) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up dstat (0.7.2-4) ...
Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in <module>
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 1
SyntaxError: Non-ASCII character '\xdb' in file /usr/share/python/debpython/version.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
dpkg: error processing package dstat (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
dstat
E: Sub-process /usr/bin/dpkg returned an error code (1)
Got following error when install Dstat. Any help?? This is the first distro i encounter that cannot install dstat.
root@pine64:/home/debian# apt-get install dstat
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
dstat
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 50.5 kB of archives.
After this operation, 351 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ jessie/main dstat all 0.7.2-4 [50.5 kB]
Fetched 50.5 kB in 1s (31.1 kB/s)
Selecting previously unselected package dstat.
(Reading database ... 88108 files and directories currently installed.)
Preparing to unpack .../archives/dstat_0.7.2-4_all.deb ...
Unpacking dstat (0.7.2-4) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up dstat (0.7.2-4) ...
Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in <module>
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 1
SyntaxError: Non-ASCII character '\xdb' in file /usr/share/python/debpython/version.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
dpkg: error processing package dstat (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
dstat
E: Sub-process /usr/bin/dpkg returned an error code (1)