Centos 7 Repo kambing.ui not found, Change it to boyo Repo!

This occured on Centos 7 local repo: that kambing ui respons http error 404 for repomd.xml. it says:
failure: repodata/repomd.xml from Extras: [Errno 256] No more mirrors to try.
http://kambing.ui.ac.id/centos/7.4.1708/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 – Not Found

Kambing UI Repo Problem

Step 1. Backup Original Repo
cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

Step 2. Make new repo
nano /etc/yum.repos.d/CentOS.repo

Step 3. Use this repo, not kambing.ui at all.

# CentOS-Base.repo
# http://boyo.its.ac.id/centos/7.4.1708/

[CentOS Plus]
name=CentOS
baseurl=http://boyo.its.ac.id/centos/7.4.1708/centosplus/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://boyo.its.ac.id/centos/RPM-GPG-KEY-CentOS-7

[Extras]
name=CentOS
baseurl=http://boyo.its.ac.id/centos/7.4.1708/extras/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://boyo.its.ac.id/centos/RPM-GPG-KEY-CentOS-7

[Fasttrack]
name=CentOS
baseurl=http://boyo.its.ac.id/centos/7.4.1708/fasttrack/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://boyo.its.ac.id/centos/RPM-GPG-KEY-CentOS-7

[OS]
name=CentOS
baseurl=http://boyo.its.ac.id/centos/7.4.1708/os/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://boyo.its.ac.id/centos/RPM-GPG-KEY-CentOS-7

[Update]
name=CentOS
baseurl=http://boyo.its.ac.id/centos/7.4.1708/updates/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://boyo.its.ac.id/centos/RPM-GPG-KEY-CentOS-7

 

Step 4. Update
yum update

Share to

Do You Know!