Symptoms
The package manager is unable to update packages through the command line or EasyApache. Yum or DNF reports errors contacting repos:
CONFIG_TEXT: Error: Failed to download metadata for repo '$repo-id': Cannot download repomd.xml: Status code: 404 for http://mirror.domain.tld/path
CONFIG_TEXT: Errors during downloading metadata for repository '$repo-id':
- Curl error (28): Timeout was reached for http://mirror.domain.tld/path [Failed to connect to mirror.domain.tld port 443: Connection timed out]
Cause
There is an issue contacting a software repo that prevents the package manager from building the required metadata cache. This may be due to a connection issue, missing repo, or an incorrect mirror.
Resolution
# yum-config-manager --disable $repo_id
# dnf config-manager --set-disabled $repo_id
Comments
0 comments
Article is closed for comments.