title: Broken dependencies while installing GD Library for php5.6 on Linode server Debian 9
body: <p>I want to install <strong>GD Library for php5.6 on Linode Server Debian 9</strong></p>
  
  <p>I run <code>apt-get install php5.6-gd</code></p>
  
  <p>Output is:  </p>
  
  <pre><code>php5.6-gd : Depends: libgd3 (&gt;= 2.1.1) but it is not going to be installed
  </code></pre>
  
  <p>then I tried to install that package <code>apt-get install libgd3</code>
  output is:</p>
  
  <pre><code> libgd3 : Depends: libfontconfig1 (&gt;= 2.11.94) but 2.11.0-6.7+b1 is to be installed
   Depends: libjpeg8 (&gt;= 8c) but it is not installable
  </code></pre>
  
  <p>I tried to install the mentioned version by running command <code>apt-get install libfontconfig1=2.11.94</code></p>
  
  <p>Output is:</p>
  
  <pre><code>Version '2.11.94' for 'libfontconfig1' was not found
  </code></pre>
  
  <p>I checked the available versions of libfontconfig1 package by running :</p>
  
  <pre><code>apt-cache policy libfontconfig1
  </code></pre>
  
  <p>Output is :</p>
  
  <p>libfontconfig1:</p>
  
  <pre><code> Installed: 2.11.0-6.7+b1
   Candidate: 2.11.0-6.7+b1
   Version table:
  2.11.0-6.7+b1 500
         500 http://mirrors.linode.com/debian stretch/main amd64 Packages
         100 /var/lib/dpkg/status
  </code></pre>
  
  <p>I didn’t find the <strong>(>= 2.11.94)</strong> version available.</p>
  
  <p>Output of <strong>cat /etc/apt/sources.list</strong></p>
  
  <pre><code># deb http://mirrors.linode.com/debian/ stretch main
  
  deb http://mirrors.linode.com/debian/ stretch main
  deb-src http://mirrors.linode.com/debian/ stretch main
  
  deb http://security.debian.org/debian-security stretch/updates main
  deb-src http://security.debian.org/debian-security stretch/updates main
  
  deb http://ftp.de.debian.org/debian stretch main
  </code></pre>
  
  <p>Output of <strong>cat /etc/apt/sources.list.d/*</strong><a href="https://i.stack.imgur.com/NteM1.jpg" rel="nofollow noreferrer">enter image description here</a></p>