linux:yum_error

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
linux:yum_error [2025/07/12 13:49] Lexlinux:yum_error [2025/07/12 14:14] (текущий) Lex
Строка 1: Строка 1:
 ====== YUM ERROR ====== ====== YUM ERROR ======
  
 +==== Errors during downloading metadata for repository 'appstream' (CentOS 8) ====
 +> Fix Centos 8 repo due to EOL could not retrieve mirrorlist
 +> EOL mirrorlist.centos.org больше не существует и удален, вам нужно изменить репозиторий на vault.centos.org
  
-===== CentOS Linux 8 - AppStream                                                                                                                                                                                   0.0  B/s |   0  B     00:41 + 
-Errors during downloading metadata for repository 'appstream': +   CentOS Linux 8 - AppStream 
-  - Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock [Could not resolve host: mirrorlist.centos.org] +   Errors during downloading metadata for repository 'appstream':  
-Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock [Could not resolve host: mirrorlist.centos.org] =====+   - Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock [Could not resolve host: mirrorlist.centos.org] 
 +   Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/? 
 +   release=8&arch=x86_64&repo=AppStream&infra=stock [Could not resolve host: mirrorlist.centos.org] 
 +    
 +=== SOLVED/FIX ==
 +   sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* 
 +   sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* 
 +   yum update -y 
 + 
 +  
 + 
 +> Wait for the update to finish 
 + 
 +==== Problem: conflicting requests redhat-release ==== 
 + 
 +   Error: 
 +   Problem: conflicting requests 
 +   - nothing provides redhat-release >= 8.10 needed by remi-release-8.10-2.el8.remi.noarch 
 +   (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) 
 +    
 +    
 +=== SOLVER/FIX ===  
 + 
 +   dnf -y install centos-release-stream 
 +   dnf -y swap centos-{linux,stream}-repos 
 +   dnf -y distro-sync
  
  • linux/yum_error.1752302947.txt.gz
  • Последнее изменение: 2025/07/12 13:49
  • Lex