本文主要是介绍解决git提示 GnuTLS recv error (-110): The TLS connection was non-properly terminated 问题,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
在终端中按以下步骤输入:
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
源链接:
https://stackoverflow.com/questions/52529639/gnutls-recv-error-110-the-tls-connection-was-non-properly-terminated
这篇关于解决git提示 GnuTLS recv error (-110): The TLS connection was non-properly terminated 问题的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!