Saat ini repository dari mirrorlist.centos.org telah tidak aktif dan digantikan ke Vault Centos
Berikut cara mengatasinya jika Anda menemukan error saat pertama kali melakukan yum install atau yum update dengan mengganti repository ke vault.centos.org
sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/CentOS-*.repo
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/CentOS-*.repo
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/CentOS-*.repo
Setelah menjalankan perintah diatas, silahkan coba kembali lakukan perintah #yum
Jika masih mengalami kendala, pastikan anda telah melakukan clear cache repository
#yum clear cache
Demikian informasi yang kami sampaikan 🙂
Cloud VPS di Jetorbit diskon 20%
Bermanfaatkah Artikel Ini?
Klik bintang 5 untuk rating!
Rata rata rating 0 / 5. Jumlah rate 0
No votes so far! Be the first to rate this post.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?