apt-get update :: Err http://kr.archive.ubuntu.com/…

우분투에서 apt-get update 를 실행했는데,

Err http://kr.archive.ubuntu.com/ubuntu/dists/….

W: Failed to fetch http://security.ubuntu.com/…

이런 오류가 출력된다면 /etc/apt/sources.list 파일을 수정한다.

 

우분투 버전이 14.10 이상 나온 시점에서 12.10을 사용하려니 이런 오류가 나오는 것 같다

지금 시점에서는 12.10은 old-releases 이니깐

 

1. 기존 파일 백업

# cd /etc/apt

# cp sources.list sources.list.bak

 

2. URL을 수정해준다

# sed -i ‘s,http://.*ubuntu.com,http://old-releases.ubuntu.com,g’ sources.list

 

3. apt-get update

패키지 업데이트를 다시한다.

# apt-get update

답글 남기기