docker ubuntu apt update Hash Sum mismatch

曹宇飞
  • 216
Get:45 http://mirrors.aliyun.com trusty/multiverse Sources [1335 kB]
Get:46 http://mirrors.aliyun.com trusty/universe amd64 Packages [1640 kB]
Fetched 55.0 MB in 3min 7s (294 kB/s)
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-security/main/source/Sources  Hash Sum mismatch

W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-security/restricted/source/Sources  Hash Sum mismatch

W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-security/multiverse/source/Sources  Hash Sum mismatch
FROM ubuntu:14.04
ADD sources.list /etc/apt/sources.list
RUN apt-get update && apt-get install -y curl

换了163 oschina源都报错 官方源也一样

回复
阅读 2.2k
1 个回答

更换其他源就可以了。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
你知道吗?

宣传栏