CENTOS 8 - Failed to synchronize cache for repo base - ignoring this repo

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

CENTOS 8 - Failed to synchronize cache for repo base - ignoring this repo

Ошибка при обновлении:

Failed to synchronize cache for repo 'base', ignoring this repo.
Failed to synchronize cache for repo 'updates', ignoring this repo.
Failed to synchronize cache for repo 'extras', ignoring this repo.

решение - заменить рекозитории на архивные с vault.centos.org:

# sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
# sed -i 's|#baseurl=http://mirror.centos.org%7Cbaseurl=http://vault.centos.org%7Cg' /etc/yum.repos.d/CentOS-*
# dnf update -y