Linux YumRepo Error

As the title, record an error.
Insert picture description here
Solution: There is a CentOS-Base.repo file in the
/etc/yum.repos.d directory . Back up the original file and create a new one. The content is as follows:
Insert picture description here

[centos-office]
name=centos-office
failovermethod=priority
baseurl=https://vault.centos.org/6.10/os/x86_64/
gpgcheck=1
gpgkey=https://vault.centos.org/6.10/os/x86_64/RPM-GPG-KEY-CentOS-6

PS: How many keywords should be written in case the reference link cannot be opened...

Other reference links:

· I can’t see this blog garden rectification...: https://www.cnblogs.com/hillxu/p/14104854.html
· YumRepo Error: All mirror URLs are not using ftp, http[s] or file.: https:/ /blog.csdn.net/qq_39946015/article/details/111086184

Guess you like

Origin blog.csdn.net/little_skeleton/article/details/115111406