CentOS6下调试时出现glibc问题

我用的是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就可以了安装了。





  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值