ubuntu 16.04: Hash Sum mismatch error during apt-get update

Bug #1801633 reported by Tae-Young Kwon on 2018-11-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-images
Undecided
Unassigned

Bug Description

I am using ubuntu 16.04 as a docker.
I have been using ubuntu 16.04 well over the last few months.

However, apt-get update fails a few days ago (probably from November 1).
`Hash Sum mismatch` error occurs.

root:# docker pull ubuntu:16.04
16.04: Pulling from library/ubuntu
Digest: sha256:76702ec53c5e7771ba3f2c4f6152c3796c142af2b3cb1a02fce66c697db24f12
Status: Image is up to date for ubuntu:16.04
root:#
root:#
root:# docker run --rm -it ubuntu:16.04 /bin/bash
root@f638fc90ace5:/#
root@f638fc90ace5:/#
root@f638fc90ace5:/# apt-get update
Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [732 kB]
Err:3 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
  Hash Sum mismatch
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [12.7 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [501 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3747 B]
Get:10 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [176 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1126 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [13.1 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [901 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [18.8 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [7965 B]
Get:18 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [8532 B]
Fetched 15.5 MB in 25s (612 kB/s)
Reading package lists... Done
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-amd64/by-hash/SHA256/1926e2729bc34fa9bfb48ec982549d1fe89e3d19258a9307fa7ecd8cf33a3b56 Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@f638fc90ace5:/#
root@f638fc90ace5:/#

Tae-Young Kwon (xoduddk123) wrote :

I am suspicious of ubuntu's checksum, so I put a question on the link below.
https://answers.launchpad.net/ubuntu/+question/675928

Dan Watkins (daniel-thewatkins) wrote :

Hi!

Thanks for using Ubuntu and for filing this bug. These errors are normally transient mirror issues, rather than an issue with the Ubuntu packages or images. If you continue seeing this reliably, please do reopen this bug and we'll dig in further.

Thanks!

Dan

Changed in cloud-images:
status: New → Invalid
Tae-Young Kwon (xoduddk123) wrote :

The ubuntu package has been uploaded on November 5th.
Of course, sha256sum has also been updated.
Now apt-get update will work normally.

root:#
root:# docker run --rm -it ubuntu:16.04 /bin/bash
root@5c104e5225fa:/#
root@5c104e5225fa:/# apt-get update
Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [731 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [12.7 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [504 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3747 B]
Get:12 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [176 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1126 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [13.1 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [903 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [18.8 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [7965 B]
Get:18 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [8532 B]
Fetched 15.5 MB in 19s (799 kB/s)
Reading package lists... Done
root@5c104e5225fa:/#
root@5c104e5225fa:/#

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions