RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.

今天在安装pcl库的时候到运行 git clone https://github.com/PointCloudLibrary/pcl.git这一步骤时突然报错:

正克隆到 'pcl'...
remote: Enumerating objects: 149268, done.
remote: Counting objects: 100% (560/560), done.
remote: Compressing objects: 100% (374/374), done.
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: 过早的文件结束符(EOF)
fatal: index-pack 失败

去网上 查了一下,我使用的如下方法:

修改下载方式-https改为ssh:

把’git clone https://github.com/PointCloudLibrary/pcl.git’改为’git clone git://github.com/PointCloudLibrary/pcl.git'即可

liangxiaoyu@liangxiaoyu-ThinkPad-E455:~$ git clone git://github.com/PointCloudLibrary/pcl.git
正克隆到 'pcl'...
remote: Enumerating objects: 149268, done.
remote: Counting objects: 100% (560/560), done.
remote: Compressing objects: 100% (374/374), done.
remote: Total 149268 (delta 184), reused 388 (delta 99), pack-reused 148708
接收对象中: 100% (149268/149268), 229.50 MiB | 186.00 KiB/s, 完成.
处理 delta 中: 100% (97995/97995), 完成.
正在检出文件: 100% (3490/3490), 完成.

亲测有效哈~

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值