`

error: gnutls_handshake() falied when you sync chip code in ubuntu

阅读更多
gnutls package is broken, workaround is compile git with openssl.

sudo apt-get install build-essential fakeroot dpkg-dev
mkdir ~/git-openssl
cd ~/git-openssl
sudo apt-get source git
sudo apt-get build-dep git
sudo apt-get install libcurl4-openssl-dev
sudo dpkg-source -x git_1.8.3.2-1.dsc
cd git-1.8.3.2.


Then, edit debian/control file (run the command: gksu gedit debian/control) and replace all instances of libcurl4-gnutls-dev with libcurl4-openssl-dev

sudo dpkg-buildpackage -rfakeroot -b
sudo dpkg -i ../git_1.8.3.2-1_amd64.deb
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics