debuginfo-install libgcc-4.4.7-16.el6.x86_64 zlib-1.2.3-29.el6.x86_64

gdb调试总是报这个错误,使用debuginfo-install 总是报pkg不匹配,

The GPG keys listed for the "CentOS-6 - Debuginfo" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.

修改配置/etc/yum.repos.d/Centos-Debug.repo依然不行

暴力解决:

debuginfo-install --nogpgcheck libgcc-4.4.7-16.el6.x86_64 zlib-1.2.3-29.el6.x86_64

debuginfo-install  --nogpgcheck glibc-2.12-1.166.el6.x86_64 
 

你可能感兴趣的:(Linux编程)