While installing DHCP Server on Kali Linux, I faced following error:
The following packages have unmet dependencies:
dhcp3-server : Depends: isc-dhcp-server but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Shown Below:
After doing some Google search, I came across that I’ve made some changes previously in “/etc/apt/sources.list” file. I set the sources list to the defaults as described on Kali Linux support forum as:
– Comment-out all previous lines by HASH mark # before every command and add following lines:
## Regular repositories
deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
## Source repositories
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
As shown in below Screen capture:
Then Save & Exit clean previous Apt-Get downloaded data and updated Kali linux by:
Then I executed DHCP Server Installation by APT Get again and:
SuCCeSS !!