我是靠谱客的博主 精明板凳,这篇文章主要介绍docker Some index files failed to download.” Error In Ubuntu apt-get update报错docker Some index files failed to download.” Error In Ubuntu apt-get update报错,现在分享给大家,希望可以做个参考。

docker Some index files failed to download.” Error In Ubuntu apt-get update报错

在百度搜的基本都不行,最后飞机出去搜到一个解决方法

  • 建议删除之前进行备份一下
    • sudo mv /etc/apt/sources.list{,.backup}
    • sudo mv /etc/apt/sources.list.d{,.backup}
  • Ubuntu在/usr/share/doc/apt/examples/sources中有一个示例源列表文件列表
    • mkdir /etc/apt/sources.list.d
    • cp /usr/share/doc/apt/examples/sources.list /etc/apt/sources.list
    • apt update
    • apt-get update

完成

最后

以上就是精明板凳最近收集整理的关于docker Some index files failed to download.” Error In Ubuntu apt-get update报错docker Some index files failed to download.” Error In Ubuntu apt-get update报错的全部内容,更多相关docker内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(102)

评论列表共有 0 条评论

立即
投稿
返回
顶部