title: unable to install git from sources on ubuntu
body: <p>I have the issue on ubuntu16.04 when I install deb package after checkinstall.</p>
  
  <p>I have the same issue also on debian9 and ubuntu18.04</p>
  
  <p>On UBUNTU 14.04 and Centos7 I have installed git from sources without problems.</p>
  
  <hr>
  
  <pre><code>$ wget https://git.kernel.org/pub/scm/git/git.git/snapshot/git-2.16.2.tar.gz
  
  $ sudo apt-get update
  
  $ sudo apt-get upgrade
  
  $ sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev asciidoc xmlto docbook2x
  
  $ make configure
  
  $ ./configure --prefix=/usr/local
  
  $ make all
  
  $ sudo checkinstall --install=no
  
  $ sudo dpkg -i git_2.16.2-1_amd64.deb
  </code></pre>
  
  <blockquote>
    <p>Selecting previously unselected package git.
    (Reading database ... 209500 files and directories currently installed.)
    Preparing to unpack git_2.16.2-1_amd64.deb ...
    <strong>Unpacking git (2.16.2-1) ...
    dpkg: dependency problems prevent configuration of git:
     libcgi-pm-perl (4.38-1) breaks git (&lt;&lt; 1:2.1.3) and is installed.
      Version of git to be configured is 2.16.2-1.</strong></p>
    
    <p>dpkg: error processing package git (--install):
     dependency problems - leaving unconfigured
    Processing triggers for man-db (2.8.2-1) ...
    Errors were encountered while processing:
     git</p>
  </blockquote>
  
  <p><strong>And after it I can't upgrade</strong></p>
  
  <blockquote>
    <p>$ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree<br>
    Reading state information... Done
    You might want to run 'apt --fix-broken install' to correct these.
    <strong>The following packages have unmet dependencies:
     libcgi-pm-perl : Breaks: git (&lt; 1:2.1.3)
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).</strong></p>
  </blockquote>
  
  <p>I did 'apt-get --fix-broken install' but it didn't help</p>
  
  <p><strong>Who knows what's the problem?
  Thanks for help.</strong></p>