Forum Navigation
You need to log in to create posts and topics.

YUM install error: repomd.xml: [Errno 14] HTTPS Error 403 – Forbidden



when user trying to install a yum package for example with following command: ”sudo yum install MariaDB-server MariaDB-client”

get the following error

repomd.xml: [Errno 14] HTTPS Error 403 – Forbidden

Trying other mirror.

It was impossible to connect to the CentOS servers.

and also errors [Errno 14] HTTPS Error 302 – Found

Trying other mirror.


The issue can occur if your organization PROXY does not support URL redirection.

To check if its the case paste the URL of the the xml file for example:

in the browser and you will see the URL is changing in the URL address bar (redirecting to one of the mirrors)


edit the file of the yum global configuration

in our example it will be

vi /etc/yum.conf

find the line contain proxy=<IP ADDRESS>

and delete / remark it

run yum command