Bonjour a tous,
J'ai un serveur dédié qui tourne sous CentOS Linux 7.8.2003 avec Plesk Onyx 17.8.11 et depuis 2 jours j'ai cette erreur lors des mises à jour système :
> Des problèmes sont survenus avec l'outil Mises à jour système sur votre serveur . Veuillez les résoudre manuellement.
> Raison : 2020-08-13 03:32:04 INFO: pum is called with arguments: ['–list', '–repo-info', '–json']
> 2020-08-13 03:32:06 ERROR: failure: repodata/repomd.xml from PLESK_17_8_11-extras: [Errno 256] No more mirrors to try.
> http://parallels.mirrors.ovh.net/parallels/PSA_17.8.11/extras-rpm-CentOS-7-x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
> 2020-08-13 03:32:06 ERROR: Exited with returncode 1.
Comment résoudre ce problème ?
Merci pour votre aide.
IL va falloir reconfigurer Plesk pour utiliser un autre miroir.
Celui d'OVH semble avoir été vidé.
Merci pour ta réponse.
Plesk fournit cette solution au problème que j'ai : https://support.plesk.com/hc/en-us/articles/115002110049-Cannot-install-system-updates-via-Plesk-Errno-256-No-more-mirrors-to-try
Voici mon fichier /etc/yum.repos.d/CentOS-Base.repo
# 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://centos.mirrors.ovh.net/ftp.centos.org/$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://centos.mirrors.ovh.net/ftp.centos.org/$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://centos.mirrors.ovh.net/ftp.centos.org/$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://centos.mirrors.ovh.net/ftp.centos.org/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Que dois-je modifier dans mon fichier CentOS-Base.repo pour que cela re-fonctionne ?
Pour infos, voici la solution pour régler ce problème :
1) Sauvegarder le fichier /root/.autoinstallerrc en /root/.autoinstallerrc.bak
2) Ouvrir le fichier /root/.autoinstallerrc et supprimer la ligne SOURCE="http://parallels.mirrors.ovh.net/parallels/"
C'est tout.