Rabu, 26 Agustus 2015

Mengatasi permasalahan E: Unable to correct problems, you have held broken packages pada bind9

Sangat sering sekali pada saaat install bind akan ada error seperti ini
Berikut tutorial mengatasi error bind9
1. sekarang coba install bind9
root@smk:~# apt-get install bind9

Saat pertama saya install bind anda permasalahan seperti dibawah ini
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.

2. Lalu saya coba cari permasalahanya , pertama saya lihat paket bind yang sudah terinstal

dpkg --get-selections | grep bind9
3. Ternyata sebelum kita menginstall bind sudah ada paket bind yang terinstall saya coba untuk meremovenya semua paket bind yang sudah terinstal
   apt-get purge bind9-host libbind9-90 rpcbind

apt-get autoremove
4.  Lalu saya coba untuk mencoba install ulang bind nya lagi
apt-get install bind9

Dan sudah jadi .. bind9 sekarang sudah bisa diinstall




3 komentar: