What is error installing the package .deb GIT, built from source?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
45 views
There is a need to gather with checkinstall deb package from GIT source.
The package is assembled successfully, but the installation is rolling out the dependency issues and in total the package is installed but the status of Unpacked and would have to be Inst.

Tried to Debian9, ubuntu 18.04 beta - the error persists.
On centos7 installed all without problems of Shadrikov 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.A 2-1_amd64.deb Selecting previously unselected package git. (Reading database ... 209500 files and directories currently installed.) Preparing to unpack git_2.16.A 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

and then the upgrade fails...
$ 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).


I did 'apt-get --fix-broken install' but that fails, because it tries to install the dependencies git-man for example and the problems increased because the upgrade then indicates the dependence of the git-man.
You have to remove git making
apt-get remove git
apt-get autoremove
and then apt-get update && apt-get upgrade are fine.

Who knows what the problem is. Thanks for the good advice.
by | 45 views

1 Answer

0 like 0 dislike
Why?
There are also assembled https://launchpad.net/~git-core/+archive/ubuntu/ppa

And the problem you have is that you need to the version to specify an epoch (epoch) 1: because the package is called git-core, git was something quite different.
by

Related questions

0 like 0 dislike
4 answers
0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
110,608 questions
257,186 answers
0 comments
38,662 users