emzei 2014. 5. 20. 23:18

when you don't have a problem with internet but can't get install using apt-get... you'd better edit the source.list

error message likes...


E: unable to locate package ~~~~


in case of Republic of korea


i tried this in Ubuntu and Debian


1. edit the sources.list

# vim /etc/apt/sources.list


origin things -->commented using #

기존것들은 다 #로 주석처리해주시고 아래 이탤릭체를 넣어주세요 (daum이 젤조아여...bb)


debian OSwheezy 배포판 사용 경우.

and add follow things:

deb http://ftp.kaist.ac.kr/debian/ wheezy main contrib non-free
deb-src http://ftp.kaist.ac.kr/debian/ wheezy main contrib non-free

deb http://ftp.daum.net/debian/ wheezy main contrib non-free
deb-src http://ftp.daum.net/debian/ wheezy main contrib non-free


( daum is more stable than kaist... )



2. update sources.list


# apt-get update



+++
debian sources.list generator : http://debgen.simplylinux.ch/