[SOLVED] Tidak bisa instal bind9 di Debian 8

Waktu pertama kali mau setting DNS saya menemui kendala pada saat instal bind9, problemnya seperti di bawah ini


root@smk:~# apt-get install bind9
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 bind9 : Depends: libbind9-90 (= 1:9.9.5.dfsg-9) but 1:9.9.5.dfsg-9+deb8u2 is to be installed
         Depends: libdns100 (= 1:9.9.5.dfsg-9) but 1:9.9.5.dfsg-9+deb8u2 is to be installed
         Depends: libisc95 (= 1:9.9.5.dfsg-9) but 1:9.9.5.dfsg-9+deb8u2 is to be installed
         Depends: libisccc90 (= 1:9.9.5.dfsg-9) but 1:9.9.5.dfsg-9+deb8u2 is to be installed
         Depends: libisccfg90 (= 1:9.9.5.dfsg-9) but 1:9.9.5.dfsg-9+deb8u2 is to be installed
         Depends: liblwres90 (= 1:9.9.5.dfsg-9) but 1:9.9.5.dfsg-9+deb8u2 is to be installed
E: Unable to correct problems, you have held broken packages.


- lalu saya coba cari masalahnya, saya coba cek apakah ada paket bind9 yang sudah terinstal

root@smk:~# dpkg --get-selections | grep bind9
bind9-host                    install
libbind9-90                    install

- wah.. ternyata ada paket bind9 yang terinstal, kemudian saya coba meremovenya dan instal lagi bind9 nya, eh ternya bisa :)
root@smk:~# apt-get purge bind9-host libbind9-90
root@smk:~# apt-get autoremove
root@smk:~# apt-get install bind9


 Cara yang kedua yaitu dengan mengganti/menambahkan repositori online milik debian yang ada di Indonesia. Dibawah ini merupkan link daftar repositori online yang ada di Indonesia.
 
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

Untuk merubah repository Debian 8 Jessie bisa dilakukan dengan cara berikut:

Misalnya akan menggunakan repository Kambing.ui.ac.id
heles@heles:~$ sudo mv /etc/apt/sources.list /etc/apt/sources.list.ori
heles@heles:~$ sudo nano /etc/apt/sources.list

lalu tambhakan 
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
heles@heles:~$ sudo apt-get update


sumber refensi
http://tataufiku.blogspot.com/2015/08/tidak-dapat-instal-bind9-pada-debain-8.html

http://muk-ti.blogspot.com/2015/08/repository-lokal-indonesia-debian-8.html


Comments