error: RPC failed; curl 56 GnuTL
2020-02-23 本文已影响0人
YoungDazen
sudo apt-get install build-essential fakeroot dpkg-dev
sudo vim /etc/apt/sources.list
mkdir git-source
cd git-source/
sudo apt source git
sudo apt build-dep git
sudo apt-get install libcurl4-openssl-dev
cd git-*
vim ./debian/control # libcurl4-gnutls-dev 修改为 libcurl4-openssl-dev
vim ./debian/rules # 注释TEST=test行
sudo dpkg-buildpackage -rfakeroot -b
cd ..
sudo dpkg -i git_*_amd64.deb