yum 명령어를 쓰면 아래같은 오류가 뜨네요 ㅠㅠㅠ 0 1 1,403

by 안찌 [2016.12.20 16:18:36]


[root@localhost root]# yum clean all


Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Error - /var/cache/yum/base/header.info cannot be found
Please run yum in non-caching mode to correct this header.

 

[root@localhost root]# yum update


Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
retrygrab() failed for:
  http://mirror.centos.org/centos/4/updates/i386/headers/header.info
  Executing failover method
failover: out of servers to try
Error getting file http://mirror.centos.org/centos/4/updates/i386/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found

 

 

대충 보니까 header.info 가 없다는거같은데.. 어떤 내용으로 만들어놓죠??;;

왜이런건가요 ㅠㅠ

by 아발란체 [2016.12.20 18:15:33]

우분투만.. 써서... ㅋㅋ yum을... OTL

아무튼 위 메세지에는 "non-caching" 모드로 실행하라고 나오고,

구글링에서는 그 경우 clean all이 아닌 

캐시를 먼저 무효화 하라고 하네용.

yum clean expire-cache 

그래도 뜨면, 캐쉬를 다시 만들라는?? 구문인지 아래 내용이 있네요.

rm -rf /var/cache/yum

yum makecache

혹시 모르니 폴더 삭제 전 백업이 필요해보입니다.

아무튼 잘 되셨으면 좋겠습니다. 그리고 해결 하시게 된다면 방법 공유 부탁드립니다.

댓글등록
SQL문을 포맷에 맞게(깔끔하게) 등록하려면 code() 버튼을 클릭하여 작성 하시면 됩니다.
로그인 사용자만 댓글을 작성 할 수 있습니다. 로그인, 회원가입