Portal Home > Knowledgebase > After Ordering > CentOS YUM Update/Install Issues


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

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
VNC (GUI) for CentOS (Views: 7214)