[root@g15 ~]# yum list
Failed to set locale, defaulting to C.UTF-8
CentOS-8 - AppStream 36 B/s | 38 B 00:01
Failed to download metadata for repo 'AppStream'
Error: Failed to download metadata for repo 'AppStream'
[root@g15 yum.repos.d]# ls
CentOS-AppStream.repo CentOS-Debuginfo.repo CentOS-Media.repo CentOS-Vault.repo
CentOS-Base.repo CentOS-Extras.repo CentOS-PowerTools.repo CentOS-centosplus.repo
CentOS-CR.repo CentOS-HA.repo CentOS-Sources.repo CentOS-fasttrack.repo
[root@g15 yum.repos.d]# sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-
CentOS-AppStream.repo CentOS-Debuginfo.repo CentOS-Media.repo CentOS-Vault.repo
CentOS-Base.repo CentOS-Extras.repo CentOS-PowerTools.repo CentOS-centosplus.repo
CentOS-CR.repo CentOS-HA.repo CentOS-Sources.repo CentOS-fasttrack.repo
# 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-*
# dnf repolist
Failed to set locale, defaulting to C.UTF-8
CentOS-8 - AppStream 8.3 MB/s | 8.4 MB 00:01
CentOS-8 - Base 5.7 MB/s | 4.6 MB 00:00
CentOS-8 - Extras 125 kB/s | 10 kB 00:00
repo id repo name status
AppStream CentOS-8 - AppStream 5596
BaseOS CentOS-8 - Base 1896
extras CentOS-8 - Extras 38
'OS > Linux' 카테고리의 다른 글
How do I find files and total their sizes? (0) | 2022.08.18 |
---|---|
tcpdump (0) | 2022.04.30 |
디렉토리 일괄변경 (0) | 2022.02.21 |
[Linux/Unix] find 의 고급기능 (0) | 2022.01.08 |
exec와 xargs 차이 (0) | 2022.01.08 |