Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI – Yum Update Error: <URL>: [Errno 14] HTTP Error 403 – Forbidden Trying other mirror.

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!