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
  • 60 Users Found This Useful
Was this answer helpful?

Related Articles

KVM Information / Installation Guide

KVM clients have two ways to install their server OS. Log into the SolusVM control panel and...

How do I clear my iptables rules?

If you find yourself unable to reach your VPS, but able to reach other parts of our network, you...

How do I use my /64 IPv6?

Each VPS comes with a /64 subnet for IPv6 with one IPv6 address on the VPS by default. Your IPv6...

Nameservers and DNS

We offer free DNS hosting, powered by cPanel, for all clients (one per account).Alternatively,...

I ordered an additional IP - how do I find it?

We have to process additional IP orders manually. We will send you an email with your new IP...