[CentOS] Debug symbols for CentOS server

Mon Dec 24 06:49:10 UTC 2007
Akemi Yagi <amyagi at gmail.com>

On Dec 23, 2007 10:20 PM, Tom Laramee <laramee at pobox.com> wrote:
>
> that's what i'm looking for ... only problem is, it doesn't look like
> any of
> the other repositories i've seen (in terms of filesystem structure), so
> when i add the following to my /etc/yum.repos.d/CentOS-Base.repo file:
>
>         [debuginfo]
>         name=CentOS-$releasever - Debuginfo
>         mirrorlist=http://vault.centos.org/debuginfo/$releasever/$basearch
>         gpgcheck=0
>         enabled=1
>
> ... and then do a "yum list" command, yum does go out to retrieve
> the contents of that repo, but it pukes on the input because it's
> not what yum is expecting (it says it's unparsable).
>
> other repos i've seen have 3 top-level directories:
>         RPMS/
>         headers/
>         repodata/
>
> .... and this one doesn't have the same filesystem structure, it just
> has a top-level directory with all of the packages in it.
>
> so long story short: how do i enable this repo in yum, given it
> doesn't look like it follows the standard repository structure?

It would work; change the mirrorlist to baseurl.  The only thing is
that the metadata (repodata files) are not up-to-date at this moment,
so newer rpms may not be found by yum.  If you do not need to pull
many debuginfo files, you can just manually download them.

Akemi