主题: iRedMail-0.9.5-1 无法安装 请大神指点

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:iRedMail-0.9.5-1
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:
#uname -r
#2.6.32-431.el6.x86_64
#cat /etc/redhat-release
#CentOS release 6.5 (Final)
- 与您的问题相关的日志信息:
# bash iRedMail.sh
[ INFO ] Checking configuration file: /root/apps/iRedMail-0.9.5-1/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
[ INFO ] Use config file: /root/apps/iRedMail-0.9.5-1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/apps/iRedMail-0.9.5-1/runtime/install.status.
[ INFO ] Installing package(s): postfix mysql-server mysql perl-DBD-MySQL mod_auth_mysql php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt php httpd mod_ssl dovecot dovecot-pigeonhole dovecot-managesieve amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar pax clamd clamav-db php-pear-Net-IDNA2 python-sqlalchemy python-setuptools python-dns MySQL-python python-jinja2 python-webpy python-netifaces python-beautifulsoup4 python-lxml mod_wsgi awstats fail2ban mcrypt unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch
Loaded plugins: fastestmirror, refresh-packagekit, security
File contains no section headers.
file: file://///etc/yum.repos.d/iRedMail.repo, line: 1
'exclude=postfix*\n'
Usage: yum [options] COMMAND

List of Commands:

check          Check for problems in the rpmdb
check-update   Check for available package updates
clean          Remove cached data
deplist        List a package's dependencies
distribution-synchronization Synchronize installed packages to the latest available versions
downgrade      downgrade a package
erase          Remove a package or packages from your system
groupinfo      Display details about a package group
groupinstall   Install the packages in a group on your system
grouplist      List available package groups
groupremove    Remove the packages in a group from your system
help           Display a helpful usage message
history        Display, or use, the transaction history
info           Display details about a package or group of packages
install        Install a package or packages on your system
list           List a package or groups of packages
load-transaction load a saved transaction from filename
makecache      Generate the metadata cache
provides       Find what package provides the given value
reinstall      reinstall a package
repolist       Display the configured software repositories
resolvedep     Determine which package provides the given dependency
search         Search package details for the given string
shell          Run an interactive yum shell
update         Update a package or packages on your system
update-minimal Works like update, but goes to the 'newest' package match which fixes a problem that affects your system
updateinfo     Acts on repository update information
upgrade        Update packages taking obsoletes into account
version        Display a version for the machine and/or available repos.


Options:
  -h, --help            show this help message and exit
  -t, --tolerant        be tolerant of errors
  -C, --cacheonly       run entirely from system cache, don't update cache
  -c [config file], --config=[config file]
                        config file location
  -R [minutes], --randomwait=[minutes]
                        maximum command wait time
  -d [debug level], --debuglevel=[debug level]
                        debugging output level
  --showduplicates      show duplicates, in repos, in list/search commands
  -e [error level], --errorlevel=[error level]
                        error output level
  --rpmverbosity=[debug level name]
                        debugging output level for rpm
  -q, --quiet           quiet operation
  -v, --verbose         verbose operation
  -y, --assumeyes       answer yes for all questions
  --version             show Yum version and exit
  --installroot=[path]  set install root
  --enablerepo=[repo]   enable one or more repositories (wildcards allowed)
  --disablerepo=[repo]  disable one or more repositories (wildcards allowed)
  -x [package], --exclude=[package]
                        exclude package(s) by name or glob
  --disableexcludes=[repo]
                        disable exclude from main, for a repo or for
                        everything
  --obsoletes           enable obsoletes processing during updates
  --noplugins           disable Yum plugins
  --nogpgcheck          disable gpg signature checking
  --disableplugin=[plugin]
                        disable plugins by name
  --enableplugin=[plugin]
                        enable plugins by name
  --skip-broken         skip packages with depsolving problems
  --color=COLOR         control whether color is used
  --releasever=RELEASEVER
                        set value of $releasever in yum config and repo files
  --setopt=SETOPTS      set arbitrary config and repo options

  Plugin Options:
    --security          Include security relevant packages
    --bugfixes          Include bugfix relevant packages
    --cve=CVE           Include packages needed to fix the given CVE
    --bz=BZ             Include packages needed to fix the given BZ
    --sec-severity=SEVERITY
                        Include security relevant packages, of this severity
    --advisory=ADVISORY
                        Include packages needed to fix the given advisory
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://www.iredmail.org/forum/
====

2 最后由 tony (2016-05-20 12:55:37) 编辑

回复: iRedMail-0.9.5-1 无法安装 请大神指点

注:我已经按照http://iredmail.com/docs/install.iredmail.on.rhel.html上的步骤安装了。
是不是我的源有问题。

# cat iRedMail.repo
exclude=postfix*

此文件里就这一行内容。

回复: iRedMail-0.9.5-1 无法安装 请大神指点

/etc/yum.repos.d/iRedMail.repo 的内容应该是这样的:

[iRedMail]
name=iRedMail
baseurl=http://iredmail.org/yum/rpms/6/
enabled=1
gpgcheck=0
#exclude=postfix*

回复: iRedMail-0.9.5-1 无法安装 请大神指点

非常感谢!


ZhangHuangbin 写道:

/etc/yum.repos.d/iRedMail.repo 的内容应该是这样的:

[iRedMail]
name=iRedMail
baseurl=http://iredmail.org/yum/rpms/6/
enabled=1
gpgcheck=0
#exclude=postfix*