I am using RHEL 8 on a Jenkins agent and have been trying to install the required dependencies using yum. After some trial and error, I started receiving the following error on
yum update -y
Error: Failed to download metadata for repo 'remi-safe': Cannot prepare internal mirrorlist: Status code: 470
Below is the full output
+ sudo yum update -y
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
This system is not registered with an entitlement server. You can use subscription-manager to register.
Extra Packages for Enterprise Linux 7 - x86_64 15 MB/s | 16 MB 00:01
Safe Remi's RPM repository for Enterprise Linux 480 B/s | 70 B 00:00
Errors during downloading metadata for repository 'remi-safe':\
- Status code: 470 for http://cdn.remirepo.net/enterprise/7/safe/mirror (IP: 109.238.14.107)\
- Status code: 470 for http://cdn.remirepo.net/enterprise/7/safe/mirror (IP: 176.31.103.194)
Error: Failed to download metadata for repo 'remi-safe': Cannot prepare internal mirrorlist: Status code: 470 for http://cdn.remirepo.net/enterprise/7/safe/mirror (IP: 176.31.103.194)
Status code 470 seems like a pretty obscure error code and I cannot find anything relevant to this error on the internet.