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=1yum install nss-softokn-debuginfo
debuginfo-install glibc-2.12-1.166.el6_7.3.x86_64
本文介绍如何在 CentOS 6 系统中启用 Debuginfo 存储库并安装 debuginfo 版本的软件包。通过修改配置文件 CentOS-Debuginfo.repo 并使用 yum 工具进行安装。
5990

被折叠的 条评论
为什么被折叠?



