DebugInfo Repo Broken On Purpose
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
yum search –enablerepo=* –disablerepo=*-debuginfo foo
HTH, Kay
Well, I guess that it’s because repodata weren’t even generated .. ?
http://debuginfo.CentOS.org/8/x86_64/