Chinaunix首页 | 论坛 | 博客
  • 博客访问: 521262
  • 博文数量: 68
  • 博客积分: 2501
  • 博客等级: 大尉
  • 技术积分: 713
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-07 17:49
个人简介

文章分类

全部博文(68)

分类: LINUX

2010-04-08 11:53:16

gdb 调试时出现,Program exited with code 01.
Missing separate debuginfos, use: debuginfo-install glibc-2.9-2.i686
大概提示少了什么项,要安装吧,于是用debuginfo-install glibc-2.9-2.i686 试了一下,看起来和yum install 一回事,很方便。


参考网页

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, --help show this help message and exit
-t, --tolerant be tolerant of errors
-C run 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
--showduplicates show duplicates, in repos, in list/search commands
-e [error level] error output level
-q, --quiet quiet operation
-v, --verbose verbose operation
-y answer yes for all questions
--version show 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
--obsoletes enable obsoletes processing during updates
--noplugins disable Yum plugins
--nogpgcheck disable gpg signature checking
--disableplugin=[plugin] disable plugins by name
--enableplugin=[plugin] enable plugins by name
--skip-broken skip 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.

阅读(7441) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~