# apt-get install python-mode
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
python-mode
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 56.5kB of archives.
After unpacking 221kB of additional disk space will be used.
Get:1 http://ftp.debian.org sarge/main python-mode 4.70-1 [56.5kB]
Fetched 56.5kB in 0s (58.4kB/s)
Selecting previously deselected package python-mode.
(Reading database ... 47846 files and directories currently installed.)
Unpacking python-mode (from .../python-mode_4.70-1_all.deb) ...
Setting up python-mode (4.70-1) ...
install/python-mode: Handling install for emacsen flavor emacs20
Wrote /usr/share/emacs20/site-lisp/python-mode/doctest-mode.elc
While compiling toplevel forms in file /usr/share/emacs20/site-lisp/python-mode/python-mode.el:
!! File error (("Cannot open load file" "ansi-color"))
Done
emacs-package-install: /usr/lib/emacsen-common/packages/install/python-mode emacs20 emacs20 emacs21 failed at /usr/lib/emacsen-common/emacs-package-install line 30, <TSORT> line 1.
dpkg: error processing python-mode (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
python-mode
E: Sub-process /usr/bin/dpkg returned an error code (1)