Yum 与 easy apache 出现问题 - 服务器的系统包管理器“YUM”发生故障?

Yum 与 easy apache 出现问题 - 服务器的系统包管理器“YUM”发生故障?

我在 easy appache 上不断收到以下错误

!! 服务器的系统包管理器‘YUM’失败。!

!! 
This is the command that failed: yum -y install gettext automake19 libstdc++.x86_64 libpng-devel readline-devel openssl libpng-dev zlib-devel autoconf261 libidn-devel gmake libidn libXpm openssl-devel automake coreutils patch libltdl3-devel libltdl libopenssl0.9.7-static-devel readline-dev libtool-ltdl-devel libXpm-devel sed libXpm-dev lsof krb5-dev flex glibc-dev expat-dev krb5-devel libstdc++-devel.x64_64 xorg-x11-devel libtool-ltdl libssl-dev pam-devel libopenssl0-devel zlib1-devel expat-devel libopenssl0-dev glibc-devel expat gcc-c++ zlib bison libjpeg-devel libtool-libltdl-devel libtool openssl-dev libopenssl0 libz-devel libjpeg-dev pam-dev fileutils libltdl-devel libopenssl0.9.7-devel e2fsprogs-devel ca_root_nss make libstdc++-dev.x86_64 libX11-devel libstdc++-devel.x86_64 gd cpp xorg-x11-dev gcc ssl-dev lex autoconf !!

!! 
Since EasyApache was unable to resolve it automatically you should: 1) Manually run the failed YUM command (shown above) via SSH 2) See if your particular error is addressed at http://go.cpanel.net/eaerror 3) Resolve the YUM problem manually 4) Re-run EasyApache !!

!! Please visit http://go.cpanel.net/eaerror for help with this error. !!

!! Restoring original working apache !!

我一直收到这些错误

我尝试以下

yum 清理标题

yum 清理软件包

yum 清理元数据

yum 清理 dbcache

yum 全部清理

当我尝试

yum-y 更新

ERROR with rpm_check_debug vs depsolve:
httpd-mmn = 20051115 is needed by mod_dav_svn-1.6.11-9.el6_4.x86_64
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
mod_dav_svn-1.6.11-2.el6_1.4.x86_64 has missing requires of httpd-mmn = ('0', '20051115', 
None)
sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx

当我做一个yum 检查我明白

yum check
Loaded plugins: fastestmirror
frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
mod_dav_svn-1.6.11-2.el6_1.4.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
msttcorefonts-2.5-1.noarch is obsoleted by msttcore-fonts-2.0-3.noarch
sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')
Error: check all

答案1

它认为我之前使用 yum 时可能有一些未完成的事务,请尝试以下命令

yum-完成交易

yum 删除 yum-utils

yum 安装 yum-utils

答案2

我们刚刚花了几个小时来解决这个确切的问题,却发现解决方案与错误消息完全无关......这使得找到解决方案变得更加困难。

我们的解决方案:安装的 cPanel 和 WHM 版本已过时。

我们进入 WHM 菜单并单击Upgrade to Latest Version,大约需要 10 分钟,然后 EasyApache 安装就完美了。

希望这可以帮助。

相关内容