OCI – Yum Update Error: <URL>: [Errno 14] HTTP Error 403 – Forbidden Trying other mirror.
in Linux
APPLIES TO:
Oracle Cloud Infrastructure
Linux OS
SYMPTOMS
yum update
oryum repolist
command showing error HTTP Error 403 – Forbidden Trying other mirror
# yum repolist Loaded plugins: langpacks, ulninfo http://<SERVER IP>/ol7/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden Trying other mirror. http://<SERVER IP>/ol7/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden Trying other mirror. http://<SERVER IP>/uekr6/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden Trying other mirror. repo id repo name status ol7_latest oracle Linux 7 Latest 0 uek6_latest oracle Linux uek6 Latest 0 repolist: 0
Cause
selinux
was set as enforcing mode.
Solution
Change selinux
0