Yum
簡單 apache 的 Yum 問題 - 伺服器的系統包管理器“YUM”失敗。?
我在簡單的應用程序中不斷收到以下錯誤
!!伺服器的系統包管理器“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 clean 元數據
百勝清理數據庫記憶體
百勝清潔所有
當我嘗試
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 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
它認為我以前使用 yum 可能有一些不完整的交易,請嘗試以下命令
yum-完成交易
yum 刪除 yum-utils
百勝安裝 yum-utils
我們只是花了幾個小時來解決這個確切的問題,發現解決方案與錯誤消息完全無關……這使得它更難找到。
我們的解決方案:安裝的 cPanel 和 WHM 版本已過期。
我們進入 WHM 菜單並點擊
Upgrade to Latest Version
了大約 10 分鐘,然後 EasyApache 安裝工作完美。希望這可以幫助。