centos 6 debuginfo 存储库没有可用的 httpd 调试版本

centos 6 debuginfo 存储库没有可用的 httpd 调试版本

我正在尝试获取 httpd 的调试版本,以便可以将其与 gdb 结合使用。我很难获取它们,而且它们似乎不在标准的 epel-debuginfo 存储库中。我该怎么办?

> [root@buildbox-rhel6 ~]# debuginfo-install httpd
Loaded plugins: fastestmirror, presto
enabling epel-debuginfo
Loading mirror speeds from cached hostfile
epel-debuginfo/metalink                                                                              | 8.3 kB     00:00     
 * base: mirrors.cicku.me
 * epel: mirrors.kernel.org
 * epel-debuginfo: mirrors.kernel.org
 * extras: mirrors.arpnetworks.com
 * updates: linux.mirrors.es.net
epel-debuginfo                                                                                       | 3.1 kB     00:00     
epel-debuginfo/primary_db                                                                            | 487 kB     00:01     
Checking for new repos for mirrors
Could not find debuginfo for main pkg: httpd-2.2.15-15.el6.centos.1.x86_64
Could not find debuginfo pkg for dependency package apr-1.3.9-5.el6_2.x86_64
Could not find debuginfo pkg for dependency package apr-util-1.3.9-3.el6_0.1.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.80.el6_3.6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.80.el6_3.6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.80.el6_3.6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.80.el6_3.6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.80.el6_3.6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.80.el6_3.6.x86_64
Could not find debuginfo pkg for dependency package db4-4.7.25-17.el6.x86_64
Could not find debuginfo pkg for dependency package expat-2.0.1-11.el6_2.x86_64
Could not find debuginfo pkg for dependency package openldap-2.4.23-26.el6_3.2.x86_64
Could not find debuginfo pkg for dependency package openldap-2.4.23-26.el6_3.2.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.80.el6_3.6.x86_64
Could not find debuginfo pkg for dependency package pcre-7.8-4.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.80.el6_3.6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.80.el6_3.6.x86_64
Could not find debuginfo pkg for dependency package libselinux-2.0.94-5.3.el6.x86_64
Could not find debuginfo pkg for dependency package zlib-1.2.3-27.el6.x86_64
No debuginfo packages available to install

答案1

看起来像调试信息安装仅搜索 epel-debuginfo。httpd 不在 EPEL 中。httpd 调试信息位于名为“调试“”。

启用调试 repo:

debuginfo-install --enablerepo=debug httpd

如果这不起作用,请使用 yum:

yum --nogpgcheck --enablerepo=debug install httpd-debuginfo

相关内容