centOS can't use yum update

As mencioned in previus post, I can not updare my centOS operative system hosted here.

Yum doesn’t find his mirrors :(

[root@cityplanner ndrini]# yum check-update
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. 6.4 is not a valid release or hasnt been released yet/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/$releasever/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

My sistem version:

[root@cityplanner ndrini]# cat /etc/*release*
CentOS release 6.4 (Final)
CentOS release 6.4 (Final)
CentOS release 6.4 (Final)

I tried this:

[root@cityplanner ndrini]# wget ""
--2014-12-12 11:05:07--
Resolving,,, ...
Connecting to||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: “index.html?release=6&arch=x86_64&repo=os.1”

    [ <=>                                   ] 527         --.-K/s   in 0s      

2014-12-12 11:05:08 (61.7 MB/s) - “index.html?release=6&arch=x86_64&repo=os.1” saved [527]

But I get the same initial error. Is there any special setting in digital ocean I have to set?


Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

After doing some searching for others who had this issue it appears that manual recreation of the mirror list files is the best option.

You could follow the details in that thread updating to reflect 6.4 mirrors (the thread is about 5.9) or spin up a second, clean CentOS droplet and copy the files over via scp or SFTP.