In the terminal, enter the following steps:
sudo apt-get install build-essential fakeroot dpkg-dev -y
sudo apt-get build-dep git -y
sudo apt-get install libcurl4-openssl-dev -y
cd ~
mkdir source-git
cd source-git/
apt-get source git
cd git-2.*.*/
sed -i -- 's/libcurl4-gnutls-dev/libcurl4-openssl-dev/' ./debian/control
sed -i -- '/TEST\s*=\s*test/d' ./debian/rules
dpkg-buildpackage -rfakeroot -b -uc -us
sudo dpkg -i ../git_*ubuntu*.deb
Link:
https://stackoverflow.com/questions/52529639/gnutls-recv-error-110-the-tls-connection-was-non-properly-terminated
Similar Posts:
- [Solved] Git clone https:// gnutls_handshake() failed: The TLS connection was non-properly terminated.
- [Solved] pycurl.error: (35, ‘gnutls_handshake() failed: An unexpected TLS packet was received.’)
- Git Clone Error: gnutls_handshake() failed: Decryption has failed [How to Solve]
- [Solved] dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
- Could not open lock file/var/lib/dpkg/lock [How to Solve]
- [Solved] Dpkg: error: dpkg status database is locked by another process
- How to Solve Syntax error: Bad for loop variable (ubuntu)
- ubuntu Resource temporarily unavailable (Could …
- [Solved] E: dpkg was interrupted, you must manually run ‘dpkg –configure -a’ to correct the probl…