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.
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
On 13/12/2019 02:09, 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.Well, I guess that it's because repodata weren't even generated .. ? http://debuginfo.centos.org/8/x86_64/ -- Fabian Arrotin The CentOS Project | https://www.centos.org gpg key: 17F3B7A1 | twitter: @arrfab -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20191213/ea0d88b7/attachment-0002.sig>
Seemingly Similar Threads
- dnf-makecache.service failing every few days and dnf-automatic.service samba freeipa issues (again).
- How do I confirm importing repo key without user intervention?
- How to automatically confirm importing repo key?
- Problems with reposync and createrepo on CentOS 7 for RHEL8/CentOS8 repo?
- EPEL repository: Failure to download metadata