Problem with mirrors

General support questions
Post Reply
wbolivar
Posts: 1
Joined: 2019/09/17 20:27:38

Problem with mirrors

Post by wbolivar » 2019/09/17 20:32:27

Hello everyone, I can not install anything on 3 different servers throws me this error:
failure: repodata / repomd.xml from base: [Errno 256] No more mirrors to try.
http://centos.mirror.serverloft.com/7/o ... repomd.xml: [Errno 14] HTTP Error 403 - Forbidden

If I make a copy paste in the browser it throws me the same error 403.

The servers are in the USA and I in Venezuela and from both countries I get the same error, is there an alternative repository?

User avatar
avij
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Problem with mirrors

Post by avij » 2019/09/17 21:26:28

I split your message from an unrelated topic to its own topic.

Yes, that URL gives me a 403 as well. That mirror is not listed on https://mirror-status.centos.org/ or on https://www.centos.org/download/mirrors/ as an official CentOS mirror. You may need to complain to serverloft about this (assuming you are their customer), or change /etc/yum.repos.d/CentOS-Base.repo to its original unmodified configuration:

Code: Select all

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

Post Reply

Return to “CentOS 7 - General Support”