YUM一堆错误,吓了一跳,仔细一看,是64位的包和32位的包冲突。天呐,这是什么情况,不知道以前的系统管理员怎么管理的。
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
Error Summary
-------------
正当高兴的时候,发现yum安装webmin的时候还是有错误:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
FATAL - 2010-11-28 15:51:02 - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - 2010-11-28 15:51:03 - Cannot continue installation.
FATAL - 2010-11-28 15:51:03 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2010-11-28 15:51:03 - re-attempted after any problems have been resolved.
FATAL - 2010-11-28 15:51:03 - Removing temporary directory and files.
FATAL - 2010-11-28 15:51:03 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2010-11-28 15:51:03 - in /root/virtualmin-install.log
看日志发现,yum更新的时候有重复的32位和64位的包:
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
dovecot x86_64 1.0.7-7.el5 base 1.7 M
httpd i386 2.2.16-jason.1 utterramblings 3.0 M
httpd x86_64 1:2.2.3-43.3.vm virtualmin 1.2 M
mailman x86_64 3:2.1.9-4.el5 base 9.8 M
mod_dav_svn x86_64 1.4.2-4.el5_3.1 base 70 k
mod_dav_svn i386 1.4.6-jason.1 utterramblings 201 k
mod_perl x86_64 2.0.4-6.el5 base 4.0 M
mod_perl i386 2.0.4-7.jason.2 utterramblings 5.4 M
系统是64位的,所以很明显utterramblings 的yum源32位是有问题的。我们需要删除这个utterramblings源。
[[email protected] yum.repos.d]# cd /etc/yum.repos.d/
[[email protected] yum.repos.d]# mv utterrambling.repo utterrambling.repo.del
然后我们yum重新安装virtualmin,终于一切正常了