CENTOS 7 - curl - Could not resolve host - mirrorlist.centos.org - Unknown error: различия между версиями
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Admin iph (обсуждение | вклад) |
Admin iph (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
=== CENTOS 7 - curl - Could not resolve host - mirrorlist.centos.org - Unknown error === | === CENTOS 7 - curl - Could not resolve host - mirrorlist.centos.org - Unknown error === | ||
− | Протестировано 03.07.2024: | + | '''CentOS Linux 7 reached end of life (EOL) on June 30, 2024''' <br> |
+ | Протестировано 03.07.2024: <br> | ||
# yum update | # yum update |
Текущая версия на 09:39, 3 июля 2024
CENTOS 7 - curl - Could not resolve host - mirrorlist.centos.org - Unknown error
CentOS Linux 7 reached end of life (EOL) on June 30, 2024
Протестировано 03.07.2024:
# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Временное решение - это заменить репозиторий на vault.centos.org
# sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/CentOS*.repo # sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/CentOS*.repo # sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/CentOS*.repo