Package: python2.5
Version: 2.5.2-15+lenny1
Severity: important
  
Hello,
there's some problem in python, which causes other packages to fail to install 
or function. Reinstallation of the packages (either python2.5 or 
python2.5-minimal or of the others) does not solve anything. I did not modify 
my system in any way, except of copying several program into /usr/local. My 
reportbug package does not work either, hence I'm reporting the bug through 
email.
Kind regards,
Jiri Wiesner


Error:

iakchos:/home/wiesner# python2.5 -v
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
'import site' failed; traceback:
ImportError: No module named site
Python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40) 
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

The following packages are not instalable:
 python-central
 python-support
 python-chm
 gnochm
 python-uno
 openoffice.org-emailmerge
 python-numpy
 reportbug

This is the error:
iakchos:/home/wiesner# aptitude reinstall reportbug
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  
The following packages will be REINSTALLED:
  reportbug 
The following partially installed packages will be configured:
  gnochm openoffice.org-emailmerge python-central python-chm python-numpy 
python-support python-uno 
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not 
upgraded.
Need to get 159kB of archives. After unpacking 0B will be used.
Writing extended state information... Done
Get:1 http://ftp.cz.debian.org lenny/main reportbug 3.48 [159kB]
Fetched 159kB in 0s (4230kB/s)
(Reading database ... 120111 files and directories currently installed.)
Preparing to replace reportbug 3.48 (using .../reportbug_3.48_all.deb) ...
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 3, in <module>
    import fnmatch, glob, os, re, string, sys, time, cStringIO
ImportError: No module named fnmatch
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement reportbug ...
Processing triggers for menu ...
Processing triggers for man-db ...
Setting up python-central (0.6.8) ...
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 3, in <module>
    import fnmatch, glob, os, re, string, sys, time, cStringIO
ImportError: No module named fnmatch
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 3, in <module>
    import fnmatch, glob, os, re, string, sys, time, cStringIO
ImportError: No module named fnmatch
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 3, in <module>
    import fnmatch, glob, os, re, string, sys, time, cStringIO
ImportError: No module named fnmatch
dpkg: error processing python-central (--configure):
 subprocess post-installation script returned error exit status 1
Setting up python-support (0.8.4lenny1) ...
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/sbin/update-python-modules", line 7, in <module>
    import sys,os,shutil
ImportError: No module named os
dpkg: error processing python-support (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-chm:
 python-chm depends on python-support (>= 0.7.1); however:
  Package python-support is not configured yet.
dpkg: error processing python-chm (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnochm:
 gnochm depends on python-chm (>= 0.8.2-2); however:
  Package python-chm is not configured yet.
dpkg: error processing gnochm (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-uno:
 python-uno depends on python-central (>= 0.6.7); however:
  Package python-central is not configured yet.
dpkg: error processing python-uno (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openoffice.org-emailmerge:
 openoffice.org-emailmerge depends on python-uno; however:
  Package python-uno is not configured yet.
dpkg: error processing openoffice.org-emailmerge (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-numpy:
 python-numpy depends on python-central (>= 0.6.7); however:
  Package python-central is not configured yet.
dpkg: error processing python-numpy (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of reportbug:
 reportbug depends on python-central (>= 0.6.7); however:
  Package python-central is not configured yet.
dpkg: error processing reportbug (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-central
 python-support
 python-chm
 gnochm
 python-uno
 openoffice.org-emailmerge
 python-numpy
 reportbug
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up python-support (0.8.4lenny1) ...
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/sbin/update-python-modules", line 7, in <module>
    import sys,os,shutil
ImportError: No module named os
dpkg: error processing python-support (--configure):
 subprocess post-installation script returned error exit status 1
Setting up python-central (0.6.8) ...
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 3, in <module>
    import fnmatch, glob, os, re, string, sys, time, cStringIO
ImportError: No module named fnmatch
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 3, in <module>
    import fnmatch, glob, os, re, string, sys, time, cStringIO
ImportError: No module named fnmatch
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 3, in <module>
    import fnmatch, glob, os, re, string, sys, time, cStringIO
ImportError: No module named fnmatch
dpkg: error processing python-central (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of reportbug:
 reportbug depends on python-central (>= 0.6.7); however:
  Package python-central is not configured yet.
dpkg: error processing reportbug (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-chm:
 python-chm depends on python-support (>= 0.7.1); however:
  Package python-support is not configured yet.
dpkg: error processing python-chm (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-uno:
 python-uno depends on python-central (>= 0.6.7); however:
  Package python-central is not configured yet.
dpkg: error processing python-uno (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openoffice.org-emailmerge:
 openoffice.org-emailmerge depends on python-uno; however:
  Package python-uno is not configured yet.
dpkg: error processing openoffice.org-emailmerge (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnochm:
 gnochm depends on python-chm (>= 0.8.2-2); however:
  Package python-chm is not configured yet.
dpkg: error processing gnochm (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-support
 python-central
 reportbug
 python-chm
 python-uno
 openoffice.org-emailmerge
 gnochm
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  

Package reportbug doesn't work either:
wies...@iakchos:~$ reportbug 
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 30, in <module>
    import sys, os
ImportError: No module named os


I am using Debian GNU/Linux 5.0.4, amd64 architecture, kernel 2.6.26-22lenny1 
and libc 2.7-18lenny4.
I'm using fully up-to-date Debian stable.




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

Reply via email to