티스토리 뷰

Linux

centos6 yum repo error

초보의 CHOMAN 2021. 2. 16. 12:19

출처

https://lhjin.tistory.com/entry/CentOS-6-yum-update-%EC%98%A4%EB%A5%98-%ED%95%B4%EA%B2%B0-%EB%B0%A9%EB%B2%95

에러 메세지

Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

Centos6 REPO 관련 에러

32Bit

echo "https://vault.centos.org/6.10/os/i386/" > /var/cache/yum/i386/6/base/mirrorlist.txt
echo "http://vault.centos.org/6.10/extras/i386/" > /var/cache/yum/i386/6/extras/mirrorlist.txt
echo "http://vault.centos.org/6.10/updates/i386/" > /var/cache/yum/i386/6/updates/mirrorlist.txt

64Bit

echo "https://vault.centos.org/6.10/os/x86_64/" > /var/cache/yum/x86_64/6/base/mirrorlist.txt
echo "http://vault.centos.org/6.10/extras/x86_64/" > /var/cache/yum/x86_64/6/extras/mirrorlist.txt
echo "http://vault.centos.org/6.10/updates/x86_64/" > /var/cache/yum/x86_64/6/updates/mirrorlist.txt

'Linux' 카테고리의 다른 글

gitlab upgrade (깃랩 업그레이드)  (0) 2021.11.11
Consider increasing /proc/sys/fs/inotify/max_user_watches  (0) 2021.06.18
centos6 yum repo error  (0) 2021.02.16
rsync 소유자 권한 그대로 복사하기  (0) 2020.10.20
ksmtuned  (0) 2020.08.31
싱글모드 (single mode)  (0) 2020.08.21
댓글
댓글쓰기 폼
공지사항