I wanted to install some package that had a dependency on another package. However, "apt-get install xxx" gave me the following error:
The following packages have unmet dependencies:
libsnmp9-dev: Depends: libwrap0-dev but it is not installable
E: Broken packages
[SOLUTION]
Check if you have the right sources configured in "/etc/apt/sources.list". If your sources don't offer the package needed, you'll get this "broken packages" error.
In my case, I've commented everything out except for security repositories to get only security updates.