Thanks for your quick reply, Kovid.
When I read the download page for Calibre, many dependencies are newer than the ones in Squeeze. It says I need Python 2.7.1, but Debian still uses 2.6. Podofo should be 0.8.2, Debian uses 0.8.0. Calibre needs Qt 4.7.0, but only 4.4.6 is available. I'm afraid that upgrading all those packages is impossible without crashing my system?
However, I tried to install Calibre from source, and this is the result:
Code:
robert@DEBIAN:~/calibre$ sudo python setup.py install
[sudo] password for robert:
Dropping privileges to those of robert: 1000
Traceback (most recent call last):
File "setup.py", line 99, in <module>
sys.exit(main())
File "setup.py", line 85, in main
command.run_all(opts)
File "/home/robert/calibre/setup/__init__.py", line 163, in run_all
self.run_cmd(self, opts)
File "/home/robert/calibre/setup/__init__.py", line 154, in run_cmd
cmd.pre_sub_commands(opts)
File "/home/robert/calibre/setup/install.py", line 128, in pre_sub_commands
import calibre.utils.config as c
File "/home/robert/calibre/src/calibre/__init__.py", line 15, in <module>
from calibre.constants import (iswindows, isosx, islinux, isfrozen,
File "/home/robert/calibre/src/calibre/constants.py", line 36, in <module>
ispy3 = sys.version_info.major > 2
AttributeError: 'tuple' object has no attribute 'major'
robert@DEBIAN:~/calibre$