Untuk cara menggantinya kita tinggal menghapus (disarankan backup terlebih dahulu) isi pada berkas /etc/apt/sources.list dengan mengetik:
mv /etc/apt/sources.list /etc/apt/sources.list.ori
kemudian kamu bisa membuat source.listbaru dengan mengetik:
nano /etc/apt/sources.list
Lalu pilih repository dibawah ini:
REPOSITORY UBUNTU 16.04 VIA KAMBING UI
deb http://kambing.ui.ac.id/ubuntu/ xenial main restricted
deb http://kambing.ui.ac.id/ubuntu/ xenial-updates main restricted
deb http://kambing.ui.ac.id/ubuntu/ xenial universe
deb http://kambing.ui.ac.id/ubuntu/ xenial-updates universe
deb http://kambing.ui.ac.id/ubuntu/ xenial multiverse
deb http://kambing.ui.ac.id/ubuntu/ xenial-updates multiverse
deb http://kambing.ui.ac.id/ubuntu/ xenial-backports main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ xenial-security main restricted
deb http://kambing.ui.ac.id/ubuntu/ xenial-security universe
deb http://kambing.ui.ac.id/ubuntu/ xenial-security multiverse
REPOSITORY UBUNTU 16.04 VIA BUAYA.KLAS.OR.ID
deb http://buaya.klas.or.id/ubuntu/ xenial main restricted
deb http://buaya.klas.or.id/ubuntu/ xenial-updates main restricted
deb http://buaya.klas.or.id/ubuntu/ xenial universe
deb http://buaya.klas.or.id/ubuntu/ xenial-updates universe
deb http://buaya.klas.or.id/ubuntu/ xenial multiverse
deb http://buaya.klas.or.id/ubuntu/ xenial-updates multiverse
deb http://buaya.klas.or.id/ubuntu/ xenial-backports main restricted universe multiverse
deb http://buaya.klas.or.id/ubuntu/ xenial-security main restricted
deb http://buaya.klas.or.id/ubuntu/ xenial-security universe
deb http://buaya.klas.or.id/ubuntu/ xenial-security multiverse
REPOSITORY UBUNTU 16.04 VIA ITB
deb ftp://ftp.itb.ac.id/pub/ubuntu xenial main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu xenial-updates main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu xenial-security main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu xenial-backports main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu xenial-proposed main restricted universe multiverse