Linux

rpm_check_debug 與 depsolve 的錯誤

  • December 24, 2017
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,但最終還是遇到了同樣的問題。想法?

下載並安裝最新的 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

引用自:https://serverfault.com/questions/563296