歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux技術 >> centos gdb 不可用Missing separate debuginfos, use: debuginfo

centos gdb 不可用Missing separate debuginfos, use: debuginfo

日期:2017/3/3 12:33:53   编辑:Linux技術

cd /etc/yum.repos.d/

ls

cp CentOS-Debuginfo.repo.bk CentOS-Debuginfo.repo

vim CentOS-Debuginfo.repo

# 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=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-6
enabled=0
把
enabled=0
修改為
enabled=1
yum install nss-softokn-debuginfo

debuginfo-install glibc-2.12-1.166.el6_7.3.x86_64

Copyright © Linux教程網 All Rights Reserved