rpm_check_debug 与 depsolve 错误

rpm_check_debug 与 depsolve 错误
Transaction Summary
==========================================================================================================================================================
Install       9 Package(s)
Upgrade     227 Package(s)
Remove        1 Package(s)

Total size: 252 M
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
libasound.so.2()(64bit) is needed by libgcj-4.4.7-4.el6.x86_64
libasound.so.2(ALSA_0.9)(64bit) is needed by libgcj-4.4.7-4.el6.x86_64
** Found 15 pre-existing rpmdb problem(s), 'yum check' output follows:
alsa-lib-devel-1.0.22-3.el6.x86_64 has missing requires of alsa-lib = ('0', '1.0.22', '3.el6')
alsa-lib-devel-1.0.22-3.el6.x86_64 has missing requires of libasound.so.2()(64bit)
alsa-utils-1.0.22-5.el6.x86_64 has missing requires of libasound.so.2()(64bit)
alsa-utils-1.0.22-5.el6.x86_64 has missing requires of libasound.so.2(ALSA_0.9)(64bit)
alsa-utils-1.0.22-5.el6.x86_64 has missing requires of libasound.so.2(ALSA_0.9.0rc4)(64bit)
alsa-utils-1.0.22-5.el6.x86_64 has missing requires of libasound.so.2(ALSA_0.9.0rc8)(64bit)
frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
gstreamer-plugins-base-0.10.29-2.el6.x86_64 has missing requires of libasound.so.2()(64bit)
gstreamer-plugins-base-0.10.29-2.el6.x86_64 has missing requires of libasound.so.2(ALSA_0.9)(64bit)
gstreamer-plugins-base-0.10.29-2.el6.x86_64 has missing requires of libasound.so.2(ALSA_0.9.0rc4)(64bit)
libgcj-4.4.7-3.el6.x86_64 has missing requires of libasound.so.2()(64bit)
libgcj-4.4.7-3.el6.x86_64 has missing requires of libasound.so.2(ALSA_0.9)(64bit)
1:qt-x11-4.6.2-26.el6_4.x86_64 has missing requires of libasound.so.2()(64bit)
1:qt-x11-4.6.2-26.el6_4.x86_64 has missing requires of libasound.so.2(ALSA_0.9)(64bit)
1:qt-x11-4.6.2-26.el6_4.x86_64 has missing requires of libasound.so.2(ALSA_0.9.0rc4)(64bit)
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2013-12-23-22-364infzT.yumtx
root@www1 [~]#

我做了一些研究,这是由于 32 位二进制文​​件尝试自行安装或损坏的 repo 造成的?

root@www1 [~]# yum repolist
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: centos.mirror.lstn.net
 * extras: mirror.ash.fastserv.com
 * updates: ftp.usf.edu
repo id                                              repo name                                                                                    status
base                                                 CentOS-6 - Base                                                                              6,284+83
dag                                                  Dag RPM Repository for Red Hat Enterprise Linux                                              4,559+91
extras                                               CentOS-6 - Extras                                                                                  14
updates                                              CentOS-6 - Updates                                                                             247+39
repolist: 11,104

现在我禁用了 epel 和 rpmforge repops,但问题仍然没有解决。有什么想法吗?

答案1

下载并安装最新的 atrpms-repo:

wget http://dl.atrpms.net/el6-x86_64/atrpms/stable/atrpms-repo-6-7.el6.x86_64.rpm
rpm -Uvh atrpms-repo-6-7.el6.x86_64.rpm
yum clean all

然后,安装 libasound2 包:

yum --enablerepo=atrpms-testing install libasound2
yum update

相关内容