-
카테고리
-
세부 분야
데이터 엔지니어링
-
해결 여부
미해결
gcc 설치에러
22.01.11 22:27 작성 조회수 222
1
gcc 설치시 아래와 같은 문제가 발생합니다.어떻게 해야할까요?
yum install -y gcc* Loaded plugins: fastestmirror, refresh-packagekit, security 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/mirrorli st.txt Error: Cannot find a valid baseurl for repo: base
답변을 작성해보세요.
4
Big.D
지식공유자2022.01.12
안녕하세요! 빅디 입니다.
CentOS의 Repo URL이 변경 되어서 그렇습니다.
아래 명령을 하나씩 실행후, 설치를 진행 하시면 됩니다~
- 빅디 드림
$ echo "http://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
답변 1