免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5754 | 回复: 5
打印 上一主题 下一主题

[服务应用] yum安装报错--头大了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-06-16 10:45 |只看该作者 |倒序浏览
[root@test-gluster004 yum.repos.d]# yum install nscd
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package nscd.x86_64 0:2.12-1.149.el6_6.9 will be installed
--> Processing Dependency: glibc = 2.12-1.149.el6_6.9 for package: nscd-2.12-1.149.el6_6.9.x86_64
--> Running transaction check
---> Package glibc.x86_64 0:2.12-1.107.el6_4.5 will be updated
--> Processing Dependency: glibc = 2.12-1.107.el6_4.5 for package: glibc-headers-2.12-1.107.el6_4.5.x86_64
--> Processing Dependency: glibc = 2.12-1.107.el6_4.5 for package: glibc-devel-2.12-1.107.el6_4.5.x86_64
--> Processing Dependency: glibc = 2.12-1.107.el6_4.5 for package: glibc-common-2.12-1.107.el6_4.5.x86_64
---> Package glibc.x86_64 0:2.12-1.132.el6 will be updated
--> Processing Dependency: glibc = 2.12-1.132.el6 for package: glibc-common-2.12-1.132.el6.x86_64
---> Package glibc.x86_64 0:2.12-1.149.el6_6.9 will be an update
--> Running transaction check
---> Package glibc.x86_64 0:2.12-1.107.el6_4.5 will be updated
---> Package glibc-common.x86_64 0:2.12-1.107.el6_4.5 will be updated
---> Package glibc-common.x86_64 0:2.12-1.132.el6 will be updated
---> Package glibc-common.x86_64 0:2.12-1.149.el6_6.9 will be an update
---> Package glibc-devel.x86_64 0:2.12-1.107.el6_4.5 will be updated
---> Package glibc-devel.x86_64 0:2.12-1.149.el6_6.9 will be an update
---> Package glibc-headers.x86_64 0:2.12-1.107.el6_4.5 will be updated
---> Package glibc-headers.x86_64 0:2.12-1.149.el6_6.9 will be an update
--> Finished Dependency Resolution
Error: Package: glibc-common-2.12-1.107.el6_4.5.x86_64 (@updates)
           Requires: glibc = 2.12-1.107.el6_4.5
           Removing: glibc-2.12-1.107.el6_4.5.x86_64 (@updates)
               glibc = 2.12-1.107.el6_4.5
           Updated By: glibc-2.12-1.149.el6_6.9.x86_64 (updates)
               glibc = 2.12-1.149.el6_6.9
           Removing: glibc-2.12-1.132.el6.x86_64 (installed)
               glibc = 2.12-1.132.el6
           Updated By: glibc-2.12-1.149.el6_6.9.x86_64 (updates)
               glibc = 2.12-1.149.el6_6.9
           Available: glibc-2.12-1.149.el6.i686 (base)
               glibc = 2.12-1.149.el6
           Available: glibc-2.12-1.149.el6_6.4.i686 (updates)
               glibc = 2.12-1.149.el6_6.4
           Available: glibc-2.12-1.149.el6_6.5.i686 (updates)
               glibc = 2.12-1.149.el6_6.5
           Available: glibc-2.12-1.149.el6_6.7.i686 (updates)
               glibc = 2.12-1.149.el6_6.7
You could try using --skip-broken to work around the problem
** Found 18 pre-existing rpmdb problem(s), 'yum check' output follows:
chkconfig-1.3.49.3-2.el6_4.1.x86_64 is a duplicate with chkconfig-1.3.49.3-2.el6.x86_64
cjkuni-fonts-common-0.2.20080216.1-36.el6.noarch is a duplicate with cjkuni-fonts-common-0.2.20080216.1-35.el6.noarch
coreutils-8.4-31.el6.x86_64 is a duplicate with coreutils-8.4-19.el6.x86_64
coreutils-debuginfo-8.4-19.el6.x86_64 is a duplicate with coreutils-debuginfo-8.4-13.el6.x86_64
coreutils-libs-8.4-31.el6.x86_64 is a duplicate with coreutils-libs-8.4-19.el6.x86_64
db4-4.7.25-18.el6_4.x86_64 is a duplicate with db4-4.7.25-17.el6.x86_64
glib2-2.26.1-3.el6.x86_64 is a duplicate with glib2-2.22.5-7.el6.x86_64
glibc-2.12-1.132.el6.x86_64 is a duplicate with glibc-2.12-1.107.el6_4.5.x86_64
glibc-common-2.12-1.132.el6.x86_64 is a duplicate with glibc-common-2.12-1.107.el6_4.5.x86_64
glibc-debuginfo-2.12-1.132.el6.x86_64 is a duplicate with glibc-debuginfo-2.12-1.107.el6_4.5.x86_64
glibc-debuginfo-common-2.12-1.132.el6.x86_64 is a duplicate with glibc-debuginfo-common-2.12-1.107.el6_4.5.x86_64
grep-2.6.3-4.el6.x86_64 is a duplicate with grep-2.6.3-3.el6.x86_64
libcom_err-1.41.12-18.el6.x86_64 is a duplicate with libcom_err-1.41.12-14.el6_4.4.x86_64
libgcc-4.4.7-4.el6.x86_64 is a duplicate with libgcc-4.4.7-3.el6.x86_64
nspr-4.10.2-1.el6_5.x86_64 is a duplicate with nspr-4.9.2-1.el6.x86_64
nss-softokn-freebl-3.14.3-9.el6.x86_64 is a duplicate with nss-softokn-freebl-3.12.9-11.el6.x86_64
nss-util-3.15.3-1.el6_5.x86_64 is a duplicate with nss-util-3.14.0.0-2.el6.x86_64
tzdata-2013i-1.el6.noarch is a duplicate with tzdata-2012j-1.el6.noarch

论坛徽章:
0
2 [报告]
发表于 2015-06-16 15:00 |只看该作者
各位大神有什么妙招没

论坛徽章:
0
3 [报告]
发表于 2015-06-16 18:00 |只看该作者
试一下:
对当前本地的yum缓存进行清理

yum clean all  或者使用 yum calen dbcache

然后再更新

yum -y update

求职 : Linux运维
论坛徽章:
203
拜羊年徽章
日期:2015-03-03 16:15:432015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:57:092015小元宵徽章
日期:2015-03-06 15:58:182015年亚洲杯之约旦
日期:2015-04-05 20:08:292015年亚洲杯之澳大利亚
日期:2015-04-09 09:25:552015年亚洲杯之约旦
日期:2015-04-10 17:34:102015年亚洲杯之巴勒斯坦
日期:2015-04-10 17:35:342015年亚洲杯之日本
日期:2015-04-16 16:28:552015年亚洲杯纪念徽章
日期:2015-04-27 23:29:17操作系统版块每日发帖之星
日期:2015-06-06 22:20:00操作系统版块每日发帖之星
日期:2015-06-09 22:20:00
4 [报告]
发表于 2015-06-16 23:07 |只看该作者
@xaverlin
你整个内核都更新了。。。。。

求职 : Linux运维
论坛徽章:
203
拜羊年徽章
日期:2015-03-03 16:15:432015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:57:092015小元宵徽章
日期:2015-03-06 15:58:182015年亚洲杯之约旦
日期:2015-04-05 20:08:292015年亚洲杯之澳大利亚
日期:2015-04-09 09:25:552015年亚洲杯之约旦
日期:2015-04-10 17:34:102015年亚洲杯之巴勒斯坦
日期:2015-04-10 17:35:342015年亚洲杯之日本
日期:2015-04-16 16:28:552015年亚洲杯纪念徽章
日期:2015-04-27 23:29:17操作系统版块每日发帖之星
日期:2015-06-06 22:20:00操作系统版块每日发帖之星
日期:2015-06-09 22:20:00
5 [报告]
发表于 2015-06-16 23:08 |只看该作者
你应该之前安装过nscd 旧版本软件,你应该先yum remove 它,再安装 yum install

论坛徽章:
0
6 [报告]
发表于 2015-06-17 22:11 |只看该作者
这个问题已经找到,是开发在centos6.4上面安装了centos6.5的glibc,再安装centos6.4的nscd就安装不上,必须手动安装6.5版本的nscd。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP