DebugInfo Repo Broken On Purpose

Home » CentOS » DebugInfo Repo Broken On Purpose
CentOS 2 Comments

This line in /etc/yum.repos.d/CentOS-Debuginfo.repo

baseurl=http://debuginfo.CentOS.org/$releasever/$basearch/

…causes commands like “yum search –enablerepo=* foo” to fail with the obscure error

Error: Failed to synchronize cache for repo ‘base-debuginfo’

Apparently this is because the debug info RPMs aren’t hosted there any more, per the page at the top of the site. However, when I edit that file to point to the Facebook mirror linked from the top of the debuginfo.CentOS.org site, I get the same error, even after assorted remediations: dnf makecache, dnf update, etc.

Any ideas on how to fix it, hopefully in a way that lands in a CentOS 8.next, so it doesn’t have to be fixed manually?

And in the meantime, is there a short syntax for “search all repos other than the debuginfo ones”? I could list every repo in a comma-separated list, but ugh.

2 thoughts on - DebugInfo Repo Broken On Purpose