Wednesday , March 3 2021

Kali Linux Error: following packages have unmet dependencies

While installing DHCP Server on Kali Linux, I faced following error:

The following information may help to resolve the situation:

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:

# vim /etc/apt/sources.list

– Comment-out all previous lines by HASH mark # before every command and add following lines:


## Regular repositories
deb kali main non-free contrib
deb kali/updates main contrib non-free
## Source repositories
deb-src kali main non-free contrib
deb-src kali/updates main contrib non-free


As shown in below Screen capture:

source_list edit

Then Save & Exit clean previous Apt-Get downloaded data and updated Kali linux by:

# apt-get autoclean && apt-get clean all && apt-get update -y


Then I executed DHCP Server Installation by APT Get again and:

# apt-get install dhcp3-server -y

re-installed dhcp


SuCCeSS  !!

About Muhammad Attique

Check these out :)

How to emulate CISCO ASA 8.4 firewall with GNS3 1.x

In this blog post, I will demonstrate how to emulate CISCO ASA 8.4 firewall with …

Leave a Reply

Your email address will not be published. Required fields are marked *

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

I agree to these terms.