我用的是eclipse,出错信息
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.107.el6_4.5.i686
如图所示
如果你在终端中出现如下提示则说明咱们的问题一致
[root@Wei-VM ~]# debuginfo-install glibc-2.12-1.107.el6_4.5.i686
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
Could not find debuginfo for main pkg: glibc-2.12-1.107.el6_4.5.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6_4.5.i686
看看我的yum源
[root@Wei-VM ~]# ls /etc/yum.repos.d/
CentOS-Base.repo CentOS-Debuginfo.repo CentOS-Vault.repo
CentOS-Base.repo.backup CentOS-Media.repo
再看看Debuginfo的内容
# CentOS-Debug.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# All debug packages from all the various CentOS-5 releases
# are merged into a single repo, split by BaseArch
#
# Note: packages in the debuginfo repo are currently not signed
#
[debug]
name=CentOS-6 - Debuginfo
baseurl=http://debuginfo.centos.org/6/$basearch/
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-6
enabled=0
~
可以看到源是有的,只是没启用。解决的办法是注释最后一行即
#enabled=0
再运行一次debuginfo-install就可以了安装了。