On 12/13/19 2:09 AM, Warren Young wrote: > 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. >
yum search --enablerepo=* --disablerepo=*-debuginfo foo HTH, Kay _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos