当前位置: 技术问答>linux和unix
安装gcc,遇到问题,请大家帮忙看看,应该怎么解决?
来源: 互联网 发布时间:2016-09-08
本文导语: [root@localhost ~]# rpm -ivh glibc-2.5-18.el5_1.1.i386.rpm warning: glibc-2.5-18.el5_1.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d error: Failed dependencies: glibc-common = 2.5-18.el5_1.1 is needed by glibc-2.5-18.el5_1.1.i386[root...
[root@localhost ~]# rpm -ivh glibc-2.5-18.el5_1.1.i386.rpm
warning: glibc-2.5-18.el5_1.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
error: Failed dependencies:
glibc-common = 2.5-18.el5_1.1 is needed by glibc-2.5-18.el5_1.1.i386[root@localhost ~]# rpm -ivh glibc-common-2.5-18.el5_1.1.i386.rpm
warning: glibc-common-2.5-18.el5_1.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
Preparing... ########################################### [100%]
package glibc-common-2.5-24 (which is newer than glibc-common-2.5-18.el5_1.1) is already installed
file /usr/bin/gencat from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/getconf from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/getent from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/iconv from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/lddlibc4 from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/locale from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/localedef from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/rpcgen from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/sprof from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/libexec/pt_chown from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/sbin/build-locale-archive from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/sbin/rpcinfo from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/sbin/tzdata-update from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/sbin/zdump from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/sbin/zic from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
[root@localhost ~]# rpm -ivh glibc-2.5-18.el5_1.1.i386.rpm
warning: glibc-2.5-18.el5_1.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
error: Failed dependencies:
glibc-common = 2.5-18.el5_1.1 is needed by glibc-2.5-18.el5_1.1.i386
这个包 rpm -ivh glibc-common-2.5-18.el5_1.1.i386.rpm安装成功了吗?如果成功了,为什么还提示依赖这个包呢?请大家帮忙看看??谢谢!
warning: glibc-2.5-18.el5_1.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
error: Failed dependencies:
glibc-common = 2.5-18.el5_1.1 is needed by glibc-2.5-18.el5_1.1.i386[root@localhost ~]# rpm -ivh glibc-common-2.5-18.el5_1.1.i386.rpm
warning: glibc-common-2.5-18.el5_1.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
Preparing... ########################################### [100%]
package glibc-common-2.5-24 (which is newer than glibc-common-2.5-18.el5_1.1) is already installed
file /usr/bin/gencat from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/getconf from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/getent from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/iconv from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/lddlibc4 from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/locale from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/localedef from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/rpcgen from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/bin/sprof from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/libexec/pt_chown from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/sbin/build-locale-archive from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/sbin/rpcinfo from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/sbin/tzdata-update from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/sbin/zdump from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
file /usr/sbin/zic from install of glibc-common-2.5-18.el5_1.1 conflicts with file from package glibc-common-2.5-24
[root@localhost ~]# rpm -ivh glibc-2.5-18.el5_1.1.i386.rpm
warning: glibc-2.5-18.el5_1.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
error: Failed dependencies:
glibc-common = 2.5-18.el5_1.1 is needed by glibc-2.5-18.el5_1.1.i386
这个包 rpm -ivh glibc-common-2.5-18.el5_1.1.i386.rpm安装成功了吗?如果成功了,为什么还提示依赖这个包呢?请大家帮忙看看??谢谢!
|
卸载glibc-common 估计还依赖卸别的很多包 比如非常重要的一个glibc
如果真把glibc也卸载了 你的系统也就挂了
升级还稍微好点 如果你真要降级 我推荐你装老一点的版本的linux发行版
我试着用yum卸载了一下glibc-common 包括glibc在内的一共463 Package(s)提示将被卸载
glibc-common The glibc-common package includes common binaries for the GNU libc libraries, as well as national language (locale) support and timezone databases.
glibc GNU C Library
|
你已经装了glibc-common-2.5-24 ,再来装2.5-18的低版本,可能就有问题。
要不楼主找个glibc-24的rpm来装一下试试?
glibc-2.5-18这个版本太老了吧,我这去年装的都已经是glibc-2.9-3了
要不楼主找个glibc-24的rpm来装一下试试?
glibc-2.5-18这个版本太老了吧,我这去年装的都已经是glibc-2.9-3了
|
rpm系列的包管理没用过,等待高手吧
|
卸载时确定你的软件名是正确的:http://bbs.linuxpk.com/thread-31158-1-1.html
另外,你查看下rpm卸载完全手册。
另外,你查看下rpm卸载完全手册。