我在 easy appache 上不断收到以下错误
!! 服务器的系统包管理器‘YUM’失败。!
我一直收到这些错误
我尝试以下
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 配置中,以便保持最新状态。当然,通过提供的链接获取适合您系统的相关软件包也应该能快速解决您当前的情况。
答案2
似乎有些软件包需要同时安装 32 位和 64 位软件
我通过以下方式解决问题
yum install libstdc++-devel.i686
这似乎是阻止 yum 的一个原因