学习gdb时候出现的Missing separate debuginfos, use: debuginfo-install glibc-2.11.2-1.i686

学习gdb时候出现的Missing separate debuginfos, use: debuginfo-install glibc-2.11.2-1.i686

debuginfo-install glibc-2.11.2-1.i686

 

I found many persons had the same problem with me,and saw many persons google the key word "missing separte debuginfo" "missing separate debuginfo" "glibc gdb" and visited my blog in my visitor log.

So I will translate Chinese to English,I hope that could help the person who meet the same problem.

Missing separate debuginfos, use: debuginfo-install glibc-2.11.2-1.i686
想debuginfo-install和yum应该差不多(debuginfo-install may be quite like the yum which we use it to  update Redhat system  )

不过好像还有些不同(There is some different between debuginfo-install and yum.so i googled the usage of debuginfo-install)

参考网页http://yum.baseurl.org/wiki/YumUtils/DebugInfoInstall reference webpage

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.

posted @ 2012-07-17 01:43  alxe_yu  阅读(701)  评论(0)    收藏  举报