Answer the question
In order to leave comments, you need to log in
What is wrong with installing a GIT .deb package built from source?
There is a need to build a deb GIT package from source using checkinstall.
The package is built successfully, but during installation it rolls out problems with dependencies and in total the package is installed, but in the Unpacked status, and according to the correct one it should be Inst.
Tried on Debian9, ubuntu 18.04beta - error persists.
On centos7, I installed everything without problems from the sources and using checkinstall.
$ 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
Selecting previously unselected package git. (Reading database ... 209500 files and directories currently installed.) Preparing to unpack git_2.16.2-1_amd64.deb ... Unpacking git (2.16.2-1) ... dpkg: dependency problems prevent configuration of git: libcgi-pm-perl (4.38-1) breaks git (<< 1:2.1.3) and is installed. Version of git to be configured is 2.16.2-1.
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
$ sudo apt-get upgrade Reading package lists... Done Building dependency tree
Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libcgi-pm-perl : Breaks: git (< 1:2.1.3) E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Answer the question
In order to leave comments, you need to log in
What for?
There is also a compiled https://launchpad.net/~git-core/+archive/ubuntu/ppa
And your problem is that you need to specify the epoch (epoch) 1 in the package version: because the package used to be called git-core, and git was something very different.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question