[CentOS-devel] CR repo in CentOS 8

Brian Stinson

brian at bstinson.com
Wed Oct 9 20:02:28 UTC 2019


On Wed, Oct 9, 2019, at 14:53, John Broome wrote:
> 
> 
> On Wed, Oct 9, 2019 at 1:54 PM Lance Albertson <lance at osuosl.org> wrote:
>> 
>> 
>> On Wed, Oct 9, 2019 at 10:36 AM Trevor Hemsley <trevor.hemsley at ntlworld.com> wrote:
>>> On 09/10/2019 18:22, Lance Albertson wrote:
>>>> I see that CentOS-CR.repo is included with the centos-release package, however there is no CR repo to be found at the location it has at the base url:
>>>> 
>>>> [cr]
>>>>  name=CentOS-$releasever - cr
>>>>  baseurl=http://mirror.centos.org/$contentdir/$releasever/cr/$basearch/os/
>>>>  gpgcheck=1
>>>>  enabled=1
>>>>  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
>>>> 
>>>> $ dnf repolist 
>>>> CentOS-8 - AppStream 173 kB/s | 5.6 MB 00:33 
>>>>  CentOS-8 - Base 976 kB/s | 5.3 MB 00:05 
>>>>  CentOS-8 - cr 222 B/s | 239 B 00:01 
>>>>  Error: Failed to synchronize cache for repo 'cr'
>>>> 
>>>> 
>>>> My assumption was that the AppStream repo was going to replace the CR repo, is that correct? I'm wondering if that repo file was added accidentally?
>>> 
>>> 
>>> No. The CR repo is only used at point release time. It's used to contain the next CentOS point release in the interval between the RHEL point release coming out and the GA release of the equivalent CentOS version a few weeks later. It's designed to allow people to get access to the packages from the next point release while the team work on creating the isos/images etc.
>>> 
>>>  It's so you don't have to wait until the isos are built etc. Means everyone gets access to the content a few weeks earlier than otherwise.
>> 
>> If that's the case, should there at least be an empty repo that makes dnf happy until there's time there's actual content to be added there?
> 
> 
> I thought it shipped disabled by default, and you explicitly had to enable if you wanted packages before the next point release was fully released. 
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel
> 

It's true that we ship this with enabled=0 by default, but it's also true that it would be correct and friendly to include empty repodata on the mirrors.

We plan to do the latter with the next batch of updates. Stay tuned!

--Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20191009/977f8ab5/attachment-0002.html>


More information about the CentOS-devel mailing list