美文网首页
ubuntu20 git clone报错server certi

ubuntu20 git clone报错server certi

作者: 道翼 | 来源:发表于2023-08-16 14:46 被阅读0次

1.更换软件源

#添加阿里源
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse

2.更新软件

sudo apt-get update

3.更新软件包,是ca软件包的问题

sudo apt install libgnutls30 ca-certificates 

解决方案来源

相关文章

网友评论

      本文标题:ubuntu20 git clone报错server certi

      本文链接:https://www.haomeiwen.com/subject/hogkmdtx.html