Oi recentemente atualizei do debian lenny para o squezee e notei alguns problemas durante a atualização com alguns arquivos python. Agora eu tenho o mesmo problema com eles e preciso resolvê-lo para que eu possa instalar drivers de impressora e sane:
dpkg --configure -a
Setting up python-imaging (1.1.7-2) ...
Traceback (most recent call last):
File "/usr/local/lib/python2.5/runpy.py", line 95, in run_module
filename, loader, alter_sys)
File "/usr/local/lib/python2.5/runpy.py", line 52, in _run_module_code
mod_name, mod_fname, mod_loader)
File "/usr/local/lib/python2.5/runpy.py", line 32, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.5/py_compile.py", line 164, in <module>
main()
File "/usr/local/lib/python2.5/py_compile.py", line 159, in main
compile(filename, doraise=True)
File "/usr/local/lib/python2.5/py_compile.py", line 115, in compile
f = open(file, 'U')
IOError: [Errno 2] No such file or directory: '-'
Traceback (most recent call last):
File "/usr/bin/pycompile", line 320, in <module>
main()
File "/usr/bin/pycompile", line 299, in main
options.force, options.optimize, e_patterns)
File "/usr/bin/pycompile", line 217, in compile
pipe.send(fn)
File "/usr/bin/pycompile", line 180, in py_compile
stdin.write(filename + '\n')
IOError: [Errno 32] Broken pipe
dpkg: error processing python-imaging (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
python-imaging
O mesmo erro com:
aptitude -f install
E o mesmo erro:
# apt-get --reinstall install python-imaging
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python-imaging (1.1.7-2) ...
Traceback (most recent call last):
File "/usr/local/lib/python2.5/runpy.py", line 95, in run_module
filename, loader, alter_sys)
File "/usr/local/lib/python2.5/runpy.py", line 52, in _run_module_code
mod_name, mod_fname, mod_loader)
File "/usr/local/lib/python2.5/runpy.py", line 32, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.5/py_compile.py", line 164, in <module>
main()
File "/usr/local/lib/python2.5/py_compile.py", line 159, in main
compile(filename, doraise=True)
File "/usr/local/lib/python2.5/py_compile.py", line 115, in compile
f = open(file, 'U')
IOError: [Errno 2] No such file or directory: '-'
Traceback (most recent call last):
File "/usr/bin/pycompile", line 320, in <module>
main()
File "/usr/bin/pycompile", line 299, in main
options.force, options.optimize, e_patterns)
File "/usr/bin/pycompile", line 217, in compile
pipe.send(fn)
File "/usr/bin/pycompile", line 180, in py_compile
stdin.write(filename + '\n')
IOError: [Errno 32] Broken pipe
dpkg: error processing python-imaging (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
python-imaging