安装oh-my-zsh报错fatal: gnutls_handshake() failed: Error in the pull function的解决办法

Posted 末 初

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安装oh-my-zsh报错fatal: gnutls_handshake() failed: Error in the pull function的解决办法相关的知识,希望对你有一定的参考价值。

今天在安装oh-my-zsh时碰到一个安装问题,报错内容如下:

root@ubuntu18:~/ohmyzsh/tools# ./install.sh 
Cloning Oh My Zsh...
Initialized empty Git repository in /root/.oh-my-zsh/.git/
fatal: unable to access 'https://github.com/ohmyzsh/ohmyzsh.git/': gnutls_handshake() failed: Error in the pull function.
Error: git clone of oh-my-zsh repo failed

Stackoverflow找到了正确的解决办法:Git: gnutls_handshake() failed: Error in the pull function

里面的这条

apt-get -y install build-essential nghttp2 libnghttp2-dev libssl-dev

安装完上面这些之后,再次运行./install.sh即可成功安装

以上是关于安装oh-my-zsh报错fatal: gnutls_handshake() failed: Error in the pull function的解决办法的主要内容,如果未能解决你的问题,请参考以下文章

gnutls_handshake() failed: A TLS fatal alert has been received

gnutls_handshake() failed: A TLS fatal alert has been received

mac 使用brew安装提示fatal: not in a git directory Error: Command failed with exit 128: git

mac 使用brew安装提示fatal: not in a git directory Error: Command failed with exit 128: git

VS报错:LINK : fatal error LNK1104: 无法打开文件“msvcp100d.lib”

python中使用pip安装报错:Fatal error in launcher... 解决方法