Re: [CentOS] DebugInfo repo broken on purpose

2019-12-13 Thread Fabian Arrotin
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



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DebugInfo repo broken on purpose

2019-12-13 Thread Kay Diederichs
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


[CentOS] DebugInfo repo broken on purpose

2019-12-12 Thread Warren Young
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.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos