如何更改debuginfo-install存储库

com*_*abo 0 linux debugging gdb

[root@new-host ~]# gdb -q hello1
Reading symbols from /root/hello1...done.
(gdb) r
Starting program: /root/hello1 

Program exited with code 0244.
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.107.el6.i686
(gdb)

我想在我的CentOS 6.4系统上安装debuginfo.

但我无法安装......

[root@new-host ~]# debuginfo-install glibc-2.12-1.107.el6.i686
Loaded plugins: fastestmirror
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.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package nss-softokn-freebl-3.12.9-11.el6.i686
Could not find debuginfo pkg for dependency package nss-softokn-freebl-3.12.9-11.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
Could not find debuginfo pkg for dependency package glibc-2.12-1.107.el6.i686
No debuginfo packages available to install

如何为我的系统找到合适的回购?

如何将存储库URL添加到debuginfo-install工具?

:(

sco*_*ttt 6

  • 要快速修复,您可以访问http://debuginfo.centos.org/6/i386/glibc-debuginfo-2.12-1.107.el6.i686.rpm并将其传递给rpm -i.
  • 正确的修复将涉及一些故障排除,为什么你当前的repo配置找不到包.看看/etc/yum.repos.d/gremp for"debug"是否显示repo配置使用a mirrorlist而不是a baseurl那么可能是因为你得到的镜像已经过时了.您可能希望通过条目将centos-debuginfoupdates-debuginforepo指向debuginfo.centos.orgbaseurl.