What is the OS you were using to do this with? The error you are seeing
explains why it isn’t working… the system does not look to be registered
with Red Hat networks and so it won’t allow you to get RHEL packages.

If the system is a RHEL box and it uses to work then I expect this is a
mock issue versus an EPEL one.

Stephen Smoogen, Red Hat Automotive
Let us be kind to one another, for most of us are fighting a hard battle.
-- Ian MacClaren


On Sat, Dec 21, 2024 at 05:16 Miro Hrončok <[email protected]> wrote:

> Hello EPEL folks.
>
> I try to use EPEL (or plain RHEL) chroot in mock, which used to work
> before.
>
> Now I get:
>
> --------------------------------------------------------------
> $ mock -r rhel-8-x86_64 init
> ...
> Updating Subscription Management repositories.
> Unable to read consumer identity
>
> This system is not registered with an entitlement server. You can use
> subscription-manager to register.
>
> Red Hat Enterprise Linux - BaseOS               2.6 kB/s | 465  B     00:00
> Errors during downloading metadata for repository 'rhel-baseos':
>    - Status code: 403 for
>
> https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml
> (IP: 2.16.30.83)
> Error: Failed to download metadata for repo 'rhel-baseos': Cannot download
> repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
> --------------------------------------------------------------
>
> Is it me, or is it something else?
>
> Details:
>
> https://discussion.fedoraproject.org/t/using-rhel-mock-chroots-with-subscription-manager-ssl-certificate-error/140265
>
> --
> Miro Hrončok
> --
> Phone: +420777974800
> Fedora Matrix: mhroncok
>
> --
> _______________________________________________
> epel-devel mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/[email protected]
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
-- 
_______________________________________________
epel-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to