On Wed, Feb 27, 2013 at 09:27:01PM -0800, Ritesh Raj Sarraf wrote:
> Package: dstat
> Version: 0.7.2-1
> Severity: important
> 
> 
> @web1:~$ sudo aptitude install dstat
> [sudo] password for rrs: 
> The following NEW packages will be installed:
>   dstat 
>   0 packages upgraded, 1 newly installed, 0 to remove and 0 not
>   upgraded.
>   Need to get 79.8 kB of archives. After unpacking 549 kB will be used.
>   Get:1 http://debian.osuosl.org/debian/ squeeze/main dstat all 0.7.2-1
>   [79.8 kB]
>   Fetched 79.8 kB in 0s (185 kB/s)
>   Selecting previously deselected package dstat.
>   (Reading database ... 36722 files and directories currently
>   installed.)
>   Unpacking dstat (from .../archives/dstat_0.7.2-1_all.deb) ...
>   Processing triggers for man-db ...
>   Setting up dstat (0.7.2-1) ...
>   Processing triggers for python-central ...
>                                            
> rrs@web1:~$ dstat
> Could not find platform independent libraries <prefix>
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
> File "/usr/bin/dstat", line 17, in ?
> from __future__ import generators
> ImportError: No module named __future__
 
This smells like a problem with your Python installation. What does "python
-msite" do?
 
> -- System Information:
> Debian Release: 6.0.7
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages dstat depends on:
> ii  python                  2.6.6-3+squeeze7 interactive high-level 
> object-orie
> ii  python-central          0.6.16+nmu1      register and build utility for 
> Pyt
> 
> dstat recommends no packages.
> 
> dstat suggests no packages.
> 
> -- no debconf information
> 

Attachment: signature.asc
Description: Digital signature



Reply via email to