debuginfo-install glibc

用gdb设置断点调试程序时,只停了一次后就exit

提示:Missing separate debuginfos use: debuginfo-install glibc-2.11-2.i686

切换到root

使用命令 :debuginfo-install glibc-2.11-2.i686 

debuginfo-install命令参考:

http://yum.baseurl.org/wiki/YumUtils/DebugInfoInstall

debuginfo-install

debuginfo-install is used to install the debuginfo version of packages and their dependencies, based on the name of the non-debug package

Commmandline options

-h, --helpshow this help message and exit
-t, --tolerantbe tolerant of errors
-Crun entirely from cache, don't update cache
-c [config file]config file location
-R [minutes]maximum command wait time
-d [debug level]debugging output level
--showduplicatesshow duplicates, in repos, in list/search commands
-e [error level]error output level
-q, --quietquiet operation
-v, --verboseverbose operation
-yanswer yes for all questions
--versionshow Yum version and exit
--installroot=[path]set install root
--enablerepo=[repo]enable one or more repositories (wildcards allowed)
--disablerepo=[repo]disable one or more repositories (wildcards allowed)
-x [package], --exclude=[package]exclude package(s) by name or glob
--disableexcludes=[repo]disable exclude from main, for a repo or for everything
--obsoletesenable obsoletes processing during updates
--nopluginsdisable Yum plugins
--nogpgcheckdisable gpg signature checking
--disableplugin=[plugin]disable plugins by name
--enableplugin=[plugin]enable plugins by name
--skip-brokenskip packages with depsolving problems

Configuration option

There are no specific configuration files for this command

By default it searches the standard enabled repositories defined in /etc/yum.conf and /etc/yum.repos.d/*repo

Examples

To install all the packages for debugging the kernel:

# debuginfo-install kernel
...
--> Running transaction check
---> Package kernel-debuginfo.i586 0:2.6.29.4-167.fc11 set to be updated
--> Processing Dependency: kernel-debuginfo-common-i586 = 2.6.29.4-167.fc11 for package: kernel-debuginfo-2.6.29.4-167.fc11.i586
---> Package kernel-debuginfo.i586 0:2.6.29.5-191.fc11 set to be updated
--> Processing Dependency: kernel-debuginfo-common-i586 = 2.6.29.5-191.fc11 for package: kernel-debuginfo-2.6.29.5-191.fc11.i586
--> Running transaction check
---> Package kernel-debuginfo-common.i586 0:2.6.29.4-167.fc11 set to be updated
--> Processing Dependency: kernel-debuginfo-common-i586 = 2.6.29.4-167.fc11 for package: kernel-debuginfo-2.6.29.4-167.fc11.i586
---> Package kernel-debuginfo-common.i586 0:2.6.29.5-191.fc11 set to be updated
--> Finished Dependency Resolution
kernel-debuginfo-2.6.29.4-167.fc11.i586 from fedora-debuginfo has depsolving problems
  --> Missing Dependency: kernel-debuginfo-common-i586 = 2.6.29.4-167.fc11 is needed by package kernel-debuginfo-2.6.29.4-167.fc11.i586 (fedora-debuginfo)

================================================================================
 Package                   Arch   Version             Repository           Size
================================================================================
Installing:
 kernel-debuginfo          i586   2.6.29.4-167.fc11   fedora-debuginfo    296 M
 kernel-debuginfo          i586   2.6.29.5-191.fc11   updates-debuginfo   296 M
Installing for dependencies:
 kernel-debuginfo-common   i586   2.6.29.5-191.fc11   updates-debuginfo    36 M

Transaction Summary
================================================================================
Install      3 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Notes

This command must be run as root.

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值