livingDNF 发表于 2016-9-20 12:16:39

安装出错,帮忙看看日志

Checking ...







licess 发表于 2016-9-20 15:25:14

Error: Package: glibc-common-2.12-1.132.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
         Requires: glibc = 2.12-1.132.el6
         Removing: glibc-2.12-1.132.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
               glibc = 2.12-1.132.el6
         Updated By: glibc-2.12-1.192.el6.x86_64 (base)
               glibc = 2.12-1.192.el6
You could try using --skip-broken to work around the problem
** Found 9 pre-existing rpmdb problem(s), 'yum check' output follows:
centos-release-6-8.el6.centos.12.3.x86_64 is a duplicate with centos-release-6-5.el6.centos.11.1.x86_64
12:dhcp-common-4.1.1-51.P1.el6.centos.x86_64 is a duplicate with 12:dhcp-common-4.1.1-38.P1.el6.centos.x86_64
glibc-common-2.12-1.192.el6.x86_64 is a duplicate with glibc-common-2.12-1.132.el6.x86_64
glibc-common-2.12-1.192.el6.x86_64 has missing requires of glibc = ('0', '2.12', '1.192.el6')
kernel-firmware-2.6.32-642.4.2.el6.noarch is a duplicate with kernel-firmware-2.6.32-431.el6.noarch
libgcc-4.4.7-17.el6.x86_64 is a duplicate with libgcc-4.4.7-4.el6.x86_64
ncurses-base-5.7-4.20090207.el6.x86_64 is a duplicate with ncurses-base-5.7-3.20090208.el6.x86_64
nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64 is a duplicate with nss-softokn-freebl-3.14.3-9.el6.x86_64
tzdata-2016f-1.el6.noarch is a duplicate with tzdata-2013g-1.el6.noarch

解决方法,执行:
yum clean all
rpm --rebuilddb

再yum install gcc gcc-c++ ncurses-devel glibc 看一下

livingDNF 发表于 2016-9-20 15:52:08

回复 2# 的帖子

好 的,我试下,谢谢

livingDNF 发表于 2016-9-20 21:16:51

回复 2# 的帖子

还是一样的错误。。。。
麻烦您在看看日志

licess 发表于 2016-9-21 09:25:07

回复 4# 的帖子

按前面的错误信息就只有这个解决方法,不行就只能换其他版本或发行版试试了
页: [1]
查看完整版本: 安装出错,帮忙看看日志