原来是源的问题~~~ 唉~~~

/etc/apt/sources.list

用163

http://mirrors.163.com/.help/sources.li … -backports




deb http://mirrors.163.com/debian-backports/ lenny-backports main contrib non-free

deb http://mirrors.163.com/debian lenny main non-free contrib
deb http://mirrors.163.com/debian lenny-proposed-updates main contrib non-free
deb http://mirrors.163.com/debian-security lenny/updates main contrib non-free

deb-src http://mirrors.163.com/debian lenny main non-free contrib
deb-src http://mirrors.163.com/debian lenny-proposed-updates main contrib non-free
deb-src http://mirrors.163.com/debian-security lenny/updates main contrib non-free

deb http://http.us.debian.org/debian lenny main contrib non-free
deb http://non-us.debian.org/debian-non-US lenny/non-US main contrib non-free
deb http://security.debian.org lenny/updates main contrib non-free

出错信息:
< INFO > Check configuration file: /root/iRedMail-0.7.0-beta1/config... Found.
< Question > Use it for mail server setting? [y|N]Y
< INFO > Use config file: /root/iRedMail-0.7.0-beta1/config for mail server setting.
< INFO > Import installation process status from file: /root/iRedMail-0.7.0-beta1/.iRedMail.installation.status.
< INFO > Installing package(s): apache2 apache2-mpm-prefork apache2.2-common libapache2-mod-php5 libapache2-mod-auth-mysql php5-cli php5-imap php5-gd php5-mcrypt php5-mysql php5-ldap php5-mhash postfix postfix-pcre awstats mysql-server-5.0 mysql-client-5.0 postfix-ldap slapd ldap-utils libnet-ldap-perl postfix-policyd dovecot-imapd dovecot-pop3d amavisd-new libcrypt-openssl-rsa-perl libmail-dkim-perl clamav-freshclam clamav-daemon spamassassin altermime libmail-spf-perl python-ldap libapache2-mod-wsgi python-mysqldb python-ldap python-jinja2 python-netifaces python-webpy python-ldap bzip2 acl patch cron tofrodos
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package python-jinja2
< ERROR > Installation failed, please check the terminal output.