Cannot install debuginfo for glibc?

General support questions
trojanfoe
Posts: 16
Joined: 2009/03/27 10:04:21
Location: Waterlooville, Hampshire, UK

Cannot install debuginfo for glibc?

Post by trojanfoe » 2012/01/13 16:35:21

I know that debuginfo has only recently been added for CentOS 6, but I cannot seem to install debuginfo that would appear to be available.

For example:

[code]
# debuginfo-install glibc-2.12-1.47.el6.x86_64
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirror.mhd.uk.as44574.net
* elrepo: elrepo.org
* extras: mirror.mhd.uk.as44574.net
* updates: mirror.mhd.uk.as44574.net
adobe-linux-x86_64 | 951 B 00:00
base | 3.7 kB 00:00
elrepo | 1.9 kB 00:00
extras | 3.5 kB 00:00
google-chrome | 951 B 00:00
updates | 3.5 kB 00:00
Checking for new repos for mirrors
Could not find debuginfo for main pkg: glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package nss-softokn-freebl-3.12.9-11.el6.x86_64
Could not find debuginfo pkg for dependency package nss-softokn-freebl-3.12.9-11.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6.x86_64
No debuginfo packages available to install
[/code]

However the file http://debuginfo.centos.org/6/x86_64/glibc-debuginfo-2.12-1.47.el6.x86_64.rpm is there.

Can anyone tell me what the issue is?

Cheers,
Andy

User avatar
TrevorH
Site Admin
Posts: 32930
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cannot install debuginfo for glibc?

Post by TrevorH » 2012/01/13 18:41:43

From browsing http://debuginfo.centos.org/6/ it would appear that the files are all there but it looks like it needs createrepo run against it as it's missing the repodata directory and meta data files. Unless the mods can get someone to do something about it, it might be worth raising a bug... or perhaps just waiting as maybe the process is still incomplete.

trojanfoe
Posts: 16
Joined: 2009/03/27 10:04:21
Location: Waterlooville, Hampshire, UK

Re: Cannot install debuginfo for glibc?

Post by trojanfoe » 2012/01/13 19:43:06

According to [url=http://wiki.centos.org/AdditionalResources/Repositories]this page[/url]:

[quote]
debuginfo - This repository contains packages with debugging symbols generated when the primary packages were built. No repo config is provided by default. Tools like oprofile, crash, and systemtap require debuginfo packages. Note that debuginfo packages may not be signed so must be installed with "--nogpgcheck" or using "gpgcheck=0" in the repo definition.
[/quote]

So it's not a 'proper' repo (and is not enabled in /etc/yum.repo.d).

-A

User avatar
toracat
Site Admin
Posts: 7517
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Cannot install debuginfo for glibc?

Post by toracat » 2012/01/13 21:33:45

A bug report was filed [url=http://bugs.centos.org/view.php?id=5389]here[/url] but it is not getting CentOS devs' attention.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Cannot install debuginfo for glibc?

Post by pschaff » 2012/01/15 18:18:10

Seems to be fixed now. Squeaky wheel... :-D

User avatar
toracat
Site Admin
Posts: 7517
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Cannot install debuginfo for glibc?

Post by toracat » 2012/01/15 19:53:03

Hmmm, as of Sun Jan 15 19:51:53 UTC 2012, I only see repodata for i386 but not for x86_64. :-x

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Cannot install debuginfo for glibc?

Post by pschaff » 2012/01/16 04:09:36

Right. I was on i386 when I checked. :oops:
[code]# uname -rmi
2.6.32-220.2.1.el6.x86_64 x86_64 x86_64
# yum --disablerepo \* --enablerepo debug list available
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
http://debuginfo.centos.org/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: debug. Please verify its path and try again[/code]

trojanfoe
Posts: 16
Joined: 2009/03/27 10:04:21
Location: Waterlooville, Hampshire, UK

Re: Cannot install debuginfo for glibc?

Post by trojanfoe » 2012/01/17 13:58:22

[quote]
pschaff wrote:
Right. I was on i386 when I checked. :oops:
[code]# uname -rmi
2.6.32-220.2.1.el6.x86_64 x86_64 x86_64
# yum --disablerepo \* --enablerepo debug list available
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
http://debuginfo.centos.org/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: debug. Please verify its path and try again[/code][/quote]

Same here. Is it supposed to be enabled in /etc/yum.repo.d/CentOS-Debuginfo.repo for 'install-debuginfo' to work?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Cannot install debuginfo for glibc?

Post by pschaff » 2012/01/17 15:03:44

If you mean [b]debuginfo-install[/b] - that should use the same switches as [b]yum[/b] - e.g.[code]debuginfo-install --enablerepo debug ...[/code]

chrismurphy
Posts: 21
Joined: 2011/02/06 07:02:11

Re: Cannot install debuginfo for glibc?

Post by chrismurphy » 2012/02/09 07:22:41

[code]debuginfo-install --enablerepo debug parted-2.1-17.el6.x86_64[/code]

Results in:

[code]Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6_2.5.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6_2.5.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6_2.5.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6_2.5.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6_2.5.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6_2.5.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6_2.5.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6_2.5.x86_64
Could not find debuginfo pkg for dependency package glibc-2.12-1.47.el6_2.5.x86_64
Could not find debuginfo pkg for dependency package readline-6.0-3.el6.x86_64
Could not find debuginfo pkg for dependency package ncurses-libs-5.7-3.20090208.el6.x86_64[/code]

Post Reply