首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >尝试安装iRedMail时出错

尝试安装iRedMail时出错
EN

Server Fault用户
提问于 2010-09-11 09:13:40
回答 1查看 1.1K关注 0票数 0

我试图安装iRedMail邮件服务器,但是当我运行安装脚本时,会收到以下错误消息:

代码语言:javascript
复制
The following packages have unmet dependencies:
  php5-common: Conflicts: php5-mhash
  php5-mhash: Depends: phpapi-20060613
              Depends: php5-common (= 5.2.6.dfsg.1-3ubuntu4.5) but 5.3.2-1ubuntu4.2 is to be installed
E: Broken packages

我不太确定这意味着什么。我试过重新安装php5 5--普通的,但这并没有什么区别。

完整的日志在下面。谢谢你在这方面的帮助

丹。

< 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 php-pear postfix postfix-pcre awstats mysql-server-5.1 mysql-client-5.1 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 php-net-ldap2 phpldapadmin phpmyadmin Reading package lists... Done Building dependency tree Reading state information... Done apache2 is already the newest version. apache2-mpm-prefork is already the newest version. apache2-mpm-prefork set to manually installed. apache2.2-common is already the newest version. apache2.2-common set to manually installed. libapache2-mod-php5 is already the newest version. libapache2-mod-php5 set to manually installed. php5-gd is already the newest version. php5-gd set to manually installed. php5-mcrypt is already the newest version. php5-mcrypt set to manually installed. php5-mysql is already the newest version. mysql-server-5.1 is already the newest version. mysql-server-5.1 set to manually installed. mysql-client-5.1 is already the newest version. mysql-client-5.1 set to manually installed. bzip2 is already the newest version. acl is already the newest version. cron is already the newest version. phpmyadmin is already the newest version. Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: php5-common: Conflicts: php5-mhash php5-mhash: Depends: phpapi-20060613 Depends: php5-common (= 5.2.6.dfsg.1-3ubuntu4.5) but 5.3.2-1ubuntu4.2 is to be installed E: Broken packages < ERROR > Installation failed, please check the terminal output.

EN

回答 1

Server Fault用户

回答已采纳

发布于 2010-09-11 10:31:31

您应该清理您的sources.list文件。在PHP5.2.6和5.3.2之间似乎存在几个包冲突。

sources.list中删除非官方包源后,运行aptitude update并再次启动iRedmail安装脚本。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/180150

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档