Header Navigation

Friday, August 14, 2015

Change Repository Source List in Your Debian

Hi Everyone,

To Install something in your debian, You need repository to git your Installation software, it's similar with google play I guess. You can reach the server where package stored. The problem is, if you define the source list is default address, It can be long time downloading if you have problem with internet connection speed.

The solution is you need network mirroring. I think it can help you event just a little. To make you closer to the server, a little hop that can influence your download speed.

Default source.list configuration below:

1:     # See sources.list(5) for more information, especially  
2:     # Remember that you can only use http, ftp or file URIs  
3:     # CDROMs are managed through the apt-cdrom tool.  
4:     deb http://http.us.debian.org/debian stable main contrib non-free  
5:     deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free  
6:     deb http://security.debian.org stable/updates main contrib non-free  
7:     # Uncomment if you want the apt-get source function to work  
8:     #deb-src http://http.us.debian.org/debian stable main contrib non-free  

In Indonesia, following reliable repository:


  1. #KAMBING-UI
  2. #KEBO VLSM
  3. #DATA UTAMA SURABAYA
  4. #UNEJ


To change your source list repo, you should enter as super user (root), then enter this command

 nano /etc/apt/sources.list  

fill hasthtag (#) in front of the default source to make source apt, ignore them. like example below

 # deb http://http.us.debian.org/debian stable main contrib non-free  

Then just copy one of the source address repository below (I prefer kambing-ui):

#KAMBING-UI
deb http://kambing.ui.ac.id/debian/ jessie main contrib non-free
deb http://kambing.ui.ac.id/debian/ jessie-updates main contrib non-free
deb http://kambing.ui.ac.id/debian-security/ jessie/updates main contrib non-free 

#KEBO VLSM
deb http://kebo.vlsm.org/debian/ jessie main contrib non-free
deb http://kebo.vlsm.org/debian/ jessie-updates main contrib non-free
deb http://kebo.vlsm.org/debian-security/ jessie/updates main contrib non-free 

#DATA UTAMA SURABAYA
deb http://kartolo.sby.datautama.net.id/debian/ jessie main contrib non-free
deb http://kartolo.sby.datautama.net.id/debian/ jessie-updates main contrib non-free
deb http://kartolo.sby.datautama.net.id/debian-security/ jessie/updates main contrib non-free 

#UNEJ
deb http://mirror.unej.ac.id/debian/ jessie main contrib non-free
deb http://mirror.unej.ac.id/debian/ jessie-updates main contrib non-free
deb http://mirror.unej.ac.id/debian-security/ jessie/updates main contrib non-free


Hit ctrl + x a, then If the question appear about save modified buffer, Hit y then hit Enter

 Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?  

You can test with enter command:

 apt-get update  

Debian success update, describe like picture bellow:


Good Luck 


1 comment: