dnf2 yum(dnf) update 시 'Cannot download All mirrors were tried' 패키지 업데이트시 특정 모듈에서 다운로드가 안되면서 Cannot download All mirrors were tried 라는 메시지가 포함된 에러가 나올때가 있다 또한 커스텀 repo 설정이 안되는 경우도 있는데 이때 이렇게 해결했다 $ yum remove epel-release -y $ yum update 오랜만에 yum update (dnf update) 를 실행할시 업데이트가 안되는 문제가 발생할 수 있는데 epel-release repo 를 위 명령어로 삭제하고 다시 yum update 를 치니까 정상적으로 다운로드가 됨 2022. 7. 23. centOS 8 에서 repo 사용시 'AppStream' 에러해결 Error: Failed to download metadata for repo 'AppStream' yum update 또는 dnf update 사용시 위와 같은 에러가 발생한다 [root@localhost ~]# cd /etc/yum.repos.d/ [root@localhost yum.repos.d]# sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* [root@localhost yum.repos.d]# sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* 레포 경로로 들어가 위와 같은 형태로 레포를 교체해주면.. 2022. 7. 23. 이전 1 다음