Computers/Adv. Linux System Programming

change sources.list

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/


'Computers > Adv. Linux System Programming' 카테고리의 다른 글

wait queue 구조  (0) 2014.12.13
disagrees about version of symbol module_layout  (0) 2014.10.06
install RT linux  (0) 2014.05.19
ubuntu initrd.img 생성  (0) 2014.05.01
system call / 시스템콜 추가  (0) 2014.03.10