Problem:
yum source repodata configuration file repomd.xml cannot be found.
The error is reported as follows:
find / -type f -name "repomd.xml"
centos tutorial)
Check that the mount point has mnt, so we need to find this path and change /mnt/cdrom to /mnt
cd /etc/yum.repos.d/
vi CentOS-Media.repo
yum clean all yum makecache
The above is the detailed content of What should I do if I get an error when installing yum under centos7?. For more information, please follow other related articles on the PHP Chinese website!