Digital Note

Grab a coffe, take a seat, maybe listen to some music and relax by reading our digital daily diary. We want to share our minds and know how with you and the whole world!

Blog phones

Merubah repository ubuntu ke Indo (All version)

Untuk menggantinya, kita backup terlebih dahulu Repository bawaan melalui terminal dengan mengetik;

cp /etc/apt/sources.list /etc/apt/sources.list.bk

Setelah backup berhasil, kemudian jalankan script berikut, nanti akan otomatis berpindah ke repo lokal sesuai code_name versi ubuntu yang sedang digunakan

. /etc/os-release
cat <<EOT > /etc/apt/sources.list
deb http://kambing.ui.ac.id/ubuntu/ $VERSION_CODENAME main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ $VERSION_CODENAME-updates main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ $VERSION_CODENAME-security main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ $VERSION_CODENAME-proposed main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ $VERSION_CODENAME-backports main restricted universe multiverse
EOT

Jika ingin menggunakan sumber repo lain silahkan ganti domain/url
Semoga bermanfaat

Trackback from your site.

Leave a comment