[CentOS] New CentOS7 Install Yum will not work

Thu Dec 6 03:37:25 UTC 2018
Gordon Messmer <gordon.messmer at gmail.com>

On 12/5/18 10:48 AM, Ed Morrison wrote:
> This is the latest error I am seeing:
> [root at localhost ~]# yum check-update
> Could not retrieve mirrorlist
> http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock
> error was
> 14: curl#7 - "Failed connect to mirrorlist.centos.org:80; Operation now in
> progress"


What happens if you run "curl http://mirrorlist.centos.org/"?  I see this:

$ curl http://mirrorlist.centos.org/
arch not specified

Test that, and then use curl on some other url.  "curl 
http://www.google.com/" maybe.

This should establish whether or not you have general network 
connectivity.   Either way, you'll probably want to talk to your network 
admins regarding the result.