CentOS YUM Update/Install Issues

If you are using a new CentOS VPS and receiving errors when you try to use yum, please run the following over SSH to force your system to work:

sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1

yum update -y

sysctl -w net.ipv6.conf.all.disable_ipv6=0
sysctl -w net.ipv6.conf.default.disable_ipv6=0

reboot
  • 65 Users Found This Useful
Was this answer helpful?

Related Articles

How do I connect to my VPS? (SSH)

We recommend the program PuTTY for SSH. You can download it here:...

How do I reset/reinstall my VPS OS?

Steps for Reinstalling MAKE SURE YOU DOWNLOAD WHATEVER YOU WANT TO SAVE TO YOUR COMPUTER....

Where is my VPS information email?

You should receive an email from us with your VPS information as soon as you pay. The only...

How long does VPS setup take?

Setup is instant upon receipt of payment unless we are out of stock.Please use accurate billing...

How do I upgrade or downgrade my service?

If you would like to upgrade or downgrade your service, we have a convenient process to do just...