반응형

이전 버전의 우분투를 쓰게 되면 apt-get update시 403이나 404 오류가 날 수 있습니다.


패키지를 다운로드 서버가 변경됐기 때문입니다.


저의 이전 포스팅인 '우분투 업데이트 서버 변경 (http://harryp.tistory.com/18)'에서 했던 것과 유사하게 서버를 'old-releases.ubuntu.com'으로 변경해야 합니다.


1. 디렉토리 변경


$ cd /etc/apt



2. 업데이트 서버 변경


(1) 우분투 한국 서버 (kr.archive.ubuntu.com)를 사용하는 경우


sudo sed -i 's,http://.*ubuntu.com,http://old-releases.ubuntu.com,g' sources.list


(2) Daum 서버를 사용하는 경우


$ sudo sed -i 's,http://.*ftp.daum.net,http://old-releases.ubuntu.com,g' sources.list



3. 업데이트 서버 목록 갱신


$ sudo apt-get update

반응형
Posted by 해리팍
BLOG main image

Chanhyun Park (해리팍)
Software Engineer @ SK hynix

Contact Info.
parkch0708@hanmail.net
chanhyun0708@gmail.com
chanhyun.park@sk.com

카테고리

All (1502)
Profile (2)
Park's Life (600)
Computer System (165)
Computer Programming (39)
Computer Study (54)
Computer Etc. (189)
Scuba Diving (137)
Golf (8)
Traveling (245)
생활 정보 (12)
Pokemon GO (50)