apt-get install报错:GnuTLS recv error (-110): The TLS connection was non-properly terminated.

$ sudo apt-get install -y nvidia-docker2
...
Err:4 https://nvidia.github.io/nvidia-container-runtime/stable/ubuntu16.04/amd64  nvidia-container-runtime 3.4.0-1
  GnuTLS recv error (-110): The TLS connection was non-properly terminated.
Get:5 https://nvidia.github.io/nvidia-docker/ubuntu16.04/amd64  nvidia-docker2 2.5.0-1 [5,840 B]
Fetched 854 kB in 6min 11s (2,300 B/s)
E: Failed to fetch https://nvidia.github.io/nvidia-container-runtime/stable/ubuntu16.04/amd64/./nvidia-container-runtime_3.4.0-1_amd64.deb  GnuTLS recv error (-110): The TLS connection was non-properly terminated.

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

解决:多试几次可能就好了。TLS关闭了吧应该。。我第二次再运行就没报这个错了

git clone有时候也报这个错:

$ git clone https://github.com/matterport/Mask_RCNN.git
Cloning into 'Mask_RCNN'...
remote: Enumerating objects: 956, done.

error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: protocol error: bad pack header

解决方法同上,多试几次。。

版权声明:本文为CSDN博主「城俊BLOG」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qxqxqzzz/article/details/111502506

城俊BLOG

我还没有学会写个人说明!

暂无评论

发表评论

相关推荐

YOLO跌倒检测笔记

YOLO跌倒检测笔记
代码来源:
https://github.com/qiaoguan/Fall-detection/blob/master/demo.gif
介绍:
上面原始代码是python2/open