Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker: Hash Sum mismatch #569

Closed
jcalfee opened this issue Jan 10, 2018 · 3 comments
Closed

Docker: Hash Sum mismatch #569

jcalfee opened this issue Jan 10, 2018 · 3 comments
Assignees
Labels
build About build process

Comments

@jcalfee
Copy link

jcalfee commented Jan 10, 2018

apt-get install fails under phusion/baseimage:0.9.19

Err:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libjs-jquery all 1.11.3+dfsg-4
  Hash Sum mismatch
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 bc amd64 1.06.95-9build1 [82.6 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/universe amd64 lynx-common all 2.8.9dev8-4ubuntu1 [411 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/universe amd64 lynx amd64 2.8.9dev8-4ubuntu1 [624 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/universe amd64 fish amd64 2.2.0-3 [443 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxdmcp6 amd64 1:1.1.2-1.1 [11.0 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb1 amd64 1.11.1-1ubuntu1 [40.0 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 libx11-data all 2:1.6.3-1ubuntu2 [113 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial/main amd64 libx11-6 amd64 2:1.6.3-1ubuntu2 [571 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial/main amd64 javascript-common all 11 [6,066 B]
Get:13 http://archive.ubuntu.com/ubuntu xenial/universe amd64 xsel amd64 1.2.0-2 [20.6 kB]
E: Failed to fetch http://107.167.195.146:80/pdata/05e0ced75397d84c/archive.ubuntu.com/ubuntu/pool/main/b/bc/bc_1.06.95-9build1_amd64.deb  Hash Sum mismatch

Fetched 3,023 kB in 1s (1,965 kB/s)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
The command '/bin/sh -c apt-get update -y &&     apt-get install -y       g++       autoconf       cmake       git       libbz2-dev       libreadline-dev       libboost-all-dev       libcurl4-openssl-dev       libssl-dev       libncurses-dev       doxygen       libcurl4-openssl-dev     &&     apt-get update -y &&     apt-get install -y fish &&     apt-get clean &&     rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 100

To get this working, I added RUN rm -rf /var/lib/apt/lists/* before apt-get update -y .. I also upgraded to the latest phusion/baseimage:0.9.22 but I can say simply upgrading to 0.9.22 did not fix the problem.

image

@xeroc xeroc self-assigned this Jan 22, 2018
@jfburdet
Copy link

jfburdet commented Feb 6, 2018

I also having this error.

An important thing to note, is that it seems intermitent, arising from time to time, without having changed Dockerfile content.

@oxarbitrage oxarbitrage added the build About build process label Feb 8, 2018
@oxarbitrage
Copy link
Member

can probably be closed. we don't have this issue in dockercloud with current configuration.

@pmconrad
Copy link
Contributor

pmconrad commented Nov 8, 2018

No more feedback. Closing.

@pmconrad pmconrad closed this as completed Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build About build process
Projects
None yet
Development

No branches or pull requests

5 participants