Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Oracle Linux 7: ''One of the Configured Repositories Failed''

DZone's Guide to

Oracle Linux 7: ''One of the Configured Repositories Failed''

We take a look at a quick solution for a problem you might have come up against yourself. It's a quick and easy one, fortunately!

· DevOps Zone ·
Free Resource

Easily enforce open source policies in real time and reduce MTTRs from six weeks to six seconds with the Sonatype Nexus Platform. See for yourself - Free Vulnerability Scanner. 

After a fresh install of Oracle Linux 7.4 and trying to run a 'sudo yum update,' I get:

One of the configured repositories failed (Latest Unbreakable Enterprise Linux Server 7 Server (x86_64)

Following the recommendations following the error didn't help, and this post suggested trying a 'sudo yum clean,' but this didn't fix it either.

Checking if I have network connectivity, it seems I can't ping www.google.com or ping 8.8.8.8. I've come across this before with RHEL/CentOS installs and forgetting to enable the network interface options during install. Checking /etc/sysconfig/network-scripts/ifcfg-* the ONBOOT property was set to "no." Changing it to "yes" and rebooting did the trick.

Automate open source governance at scale across the entire software supply chain with the Nexus Platform. Learn more.

Topics:
oracle ,linux ,rhel ,centos ,devops

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}