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-*
Errors during downloading metadata for repository ‘appstream’…:
Failed to download metadata for repo ‘appstream’: Cannot download repomd.xml: Curl error (77): Problem with the SSL CA cert (path? access rights?) for …
關閉sslverify
1 2 3
vi /etc/yum.conf 增加內容 sslverify=false
System has not been booted with systemd as init system (PID 1). Can’t operate.Failed to connect to bus: Host is down