Cannot install Bind9 on Debian 8 Jessie

Discussion in 'Installation/Configuration' started by Niels Terp, Oct 25, 2017.

  1. Niels Terp

    Niels Terp New Member

    Hi,
    I tried to install ISPConfig on Debian 9 "Stretch", and it works fine ! However, I need php 5.x, and it seems very difficult to install on Deb9 ?
    As a solution, I decided to use Debian 8 "Jessie" instead. I followed the guide https://www.howtoforge.com/tutorial/perfect-server-debian-8-jessie-apache-bind-dovecot-ispconfig-3, but I get stuck in installation of Bind9 and dnsutils:

    root@webhotel:/opt/certbot# apt-get install bind9 dnsutils
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    dnsutils is already the newest version.
    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+deb8u13) but 1:9.9.5.dfsg-9+deb8u14 is to be installed
    Depends: libdns100 (= 1:9.9.5.dfsg-9+deb8u13) but 1:9.9.5.dfsg-9+deb8u14 is to be installed
    Depends: libisc95 (= 1:9.9.5.dfsg-9+deb8u13) but 1:9.9.5.dfsg-9+deb8u14 is to be installed
    Depends: libisccc90 (= 1:9.9.5.dfsg-9+deb8u13) but 1:9.9.5.dfsg-9+deb8u14 is to be installed
    Depends: libisccfg90 (= 1:9.9.5.dfsg-9+deb8u13) but 1:9.9.5.dfsg-9+deb8u14 is to be installed
    Depends: liblwres90 (= 1:9.9.5.dfsg-9+deb8u13) but 1:9.9.5.dfsg-9+deb8u14 is to be installed
    E: Unable to correct problems, you have held broken packages.

    Google seems not to have an answer.
    I have used this guide before, at that time with no problems at all ?
    What can I do to get past this ?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Maybe just temporary situation where package repository is not in sync. It looks like a package requires a newer version that is available. This should not happen on Debian stable or oldstable distribution. Try running apt-get update and then try again. If this does not help, change the package repository the host is using, in /etc/apt/sources.list. If still not successful, try again tomorrow and hope the stuff is in sync completely.
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  4. Crumb

    Crumb New Member

    run
    Code:
    apt-get install libisc95=1:9.9.5.dfsg-9+deb8u13 libisccc90=1:9.9.5.dfsg-9+deb8u13 libisccfg90=1:9.9.5.dfsg-9+deb8u13 liblwres90=1:9.9.5.dfsg-9+deb8u13 libdns100=1:9.9.5.dfsg-9+deb8u13 libdns100-90=1:9.9.5.dfsg-9+deb8u13
    Before install bind9

    problem solved! ;)
     
  5. Crumb

    Crumb New Member

    Also as a side note if you have issues with hhvm asking for public key use:

    Code:
    wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | apt-key add -
    to solve hhvm issues!
     

Share This Page