yum으로 gcc 업데이트 에러
현재 gcc 버전은
gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)
입니다.
gcc를 4.1.2로 업그레이드 하려고 yum을 사용하였는데요
우선 업그레이드 가능한 버전을 확인하기 위해
$ yum check-update
gcc4.x86_64 4.1.2-44.EL4 base
gcc4-c++.x86_64 4.1.2-44.EL4 base
gcc4-gfortran.x86_64 4.1.2-44.EL4 base
gcc4-java.x86_64 4.1.2-44.EL4 base
이렇게 나옵니다.
그래서 $ yum update gcc4를 하니
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for gcc4 to pack into transaction set.
gcc4-4.1.2-44.EL4.x86_64. 100% |=========================| 5.3 MB 00:21
http://vault.centos.org/4.9/os/x86_64/CentOS/RPMS/gcc4-4.1.2-44.EL4.x86_64.rpm: [Errno -1] Header is not complete.
Trying other mirror.
Error: failure: CentOS/RPMS/gcc4-4.1.2-44.EL4.x86_64.rpm from base: [Errno 256] No more mirrors to try.
이런 에러가 뜹니다.
어떻게 해결해야 되나요? ㅠㅜ
댓글 달기