- 错误现象
- 解决步骤
一、错误现象
# yum -y install libXfont Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package libXfont.x86_64 0:1.4.1-2.el6_1 will be updated ---> Package libXfont.x86_64 0:1.4.5-2.el6 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================================================================= Package Arch Version Repository Size ================================================================================================================================================================================= Updating: libXfont x86_64 1.4.5-2.el6 base 136 k Transaction Summary ================================================================================================================================================================================= Upgrade 1 Package(s) Total download size: 136 k Downloading Packages: libXfont-1.4.5-2.el6.x86_64.rpm | 136 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: RPMDB altered outside of yum. ** Found 9 pre-existing rpmdb problem(s), 'yum check' output follows: libxcb-1.7-1.el6.i686 is a duplicate with libxcb-1.5-1.el6.x86_64 openssl-1.0.0-20.el6_2.5.i686 has missing requires of libcom_err.so.2 openssl-1.0.0-20.el6_2.5.i686 has missing requires of libgssapi_krb5.so.2 openssl-1.0.0-20.el6_2.5.i686 has missing requires of libk5crypto.so.3 openssl-1.0.0-20.el6_2.5.i686 has missing requires of libk5crypto.so.3(k5crypto_ openssl-1.0.0-20.el6_2.5.i686 has missing requires of libkrb5.so.3 openssl-1.0.0-20.el6_2.5.i686 has missing requires of libkrb5.so.3(krb5_3_MIT) pam-1.1.1-10.el6_2.1.i686 has missing requires of libselinux.so.1 zlib-1.2.3-29.el6.i686 is a duplicate with zlib-1.2.3-27.el6.x86_64 Updating : libXfont-1.4.5-2.el6.x86_64 Cleanup : libXfont-1.4.1-2.el6_1.x86_64 Verifying : libXfont-1.4.5-2.el6.x86_64 Verifying : libXfont-1.4.1-2.el6_1.x86_64 Updated: libXfont.x86_64 0:1.4.5-2.el6 Complete!
?使用yum安装软件包时提示Warning: RPMDB altered outside of yum.
?
?
二、解决步骤
# rm -rf /var/lib/yum/history/*.sqlite
?
再次运行yum安装即可.
?