The OS of my machine is Oracle Linux Server 7.5.
I need to install a command via a repository, precisely yum --enablerepo=packages-microsoft-com-prod install mdatp
, but I get errors like:
libatomic-4.8.5-44.el7.x86_64: [Errno 256] No more mirrors to try.
libnetfilter_queue-1.0.2-2.el7_2.x86_64: [Errno 256] No more mirrors to try.
I used the command yum repolist
and it reported this to me:
Repository 'ol7_software_collections': Error parsing config: Error parsing "baseurl = 'file:///run/media/root/OL7.5 Server.src/'": URL must be http, ftp, file or https not ""
I went on /etc/yum.repos.d/ and I found:
- media.repo
- prod.repo
- public-yum-ol7.repo
- public-yum-ol7.repoold
I opened the file public-yum-ol7.repo
[ol7_software_collections]
name=OracleLinux7
baseurl=file:///run/media/root/OL7.5 Server.src/
gpgcheck=0
enabled=1
I can't find the error, where am I wrong?