Hash Sum mismatch when apt-get from mirror.switch.ch

Bug #1574987 reported by Xavier Raemy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned
apt (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu 16.04

Using sudo apt-get update with the package repository set to http://mirror.switch.ch I get the following result:

sudo apt-get update

Get:1 http://mirror.switch.ch/ftp/mirror/ubuntu xenial InRelease [247 kB]
Get:2 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates InRelease [92,2 kB]
Hit:3 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-backports InRelease
Get:4 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security InRelease [92,2 kB]
Get:5 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/main amd64 Packages [1 201 kB]
Get:6 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/main i386 Packages [1 196 kB]
Get:7 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/main Translation-en [568 kB]
Get:8 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:8 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/main amd64 DEP-11 Metadata
Get:9 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/main DEP-11 64x64 Icons
Ign:9 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/main DEP-11 64x64 Icons
Get:10 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/restricted amd64 Packages [8 344 B]
Get:11 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/restricted i386 Packages [8 684 B]
Get:12 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/restricted Translation-en [2 908 B]
Get:13 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/restricted amd64 DEP-11 Metadata
Err:13 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/restricted amd64 DEP-11 Metadata
  Hash Sum mismatch
Get:14 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/universe amd64 Packages [7 532 kB]
Get:15 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/universe i386 Packages [7 512 kB]
Get:16 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/universe Translation-en [4 354 kB]
Get:17 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/universe amd64 DEP-11 Metadata
Ign:17 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/universe amd64 DEP-11 Metadata
Get:18 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/universe DEP-11 64x64 Icons
Ign:18 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/universe DEP-11 64x64 Icons
Get:19 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/multiverse amd64 Packages [144 kB]
Get:20 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/multiverse i386 Packages [140 kB]
Get:21 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/multiverse Translation-en [106 kB]
Get:22 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/multiverse amd64 DEP-11 Metadata
Ign:22 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/multiverse amd64 DEP-11 Metadata
Get:23 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/multiverse DEP-11 64x64 Icons
Ign:23 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/multiverse DEP-11 64x64 Icons
Get:24 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/main amd64 Packages [5 400 B]
Get:25 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/main i386 Packages [5 404 B]
Get:26 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/main Translation-en [2 828 B]
Get:27 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/main amd64 DEP-11 Metadata
Err:27 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/main amd64 DEP-11 Metadata
  Hash Sum mismatch
Get:28 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/restricted amd64 Packages [64 B]
Get:29 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/restricted i386 Packages [64 B]
Get:30 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/restricted Translation-en [64 B]
Get:31 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata
Err:31 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata
  Hash Sum mismatch
Get:32 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/universe amd64 Packages [3 796 B]
Get:33 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/universe i386 Packages [3 792 B]
Get:34 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/universe Translation-en [2 788 B]
Get:35 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/universe amd64 DEP-11 Metadata
Err:35 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/universe amd64 DEP-11 Metadata
  Hash Sum mismatch
Get:36 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/multiverse amd64 Packages [64 B]
Get:37 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-updates/multiverse i386 Packages [64 B]
Get:38 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/main amd64 Packages [2 920 B]
Get:39 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/main i386 Packages [2 924 B]
Get:40 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/main Translation-en [1 288 B]
Get:41 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/main amd64 DEP-11 Metadata
Err:41 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/main amd64 DEP-11 Metadata
  Hash Sum mismatch
Get:42 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/restricted amd64 Packages [64 B]
Get:43 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/restricted i386 Packages [64 B]
Get:44 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/restricted Translation-en [64 B]
Get:45 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/restricted amd64 DEP-11 Metadata
Err:45 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/restricted amd64 DEP-11 Metadata
  Hash Sum mismatch
Get:46 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/universe amd64 Packages [1 584 B]
Get:47 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/universe i386 Packages [1 588 B]
Get:48 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/universe Translation-en [1 080 B]
Get:49 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/universe amd64 DEP-11 Metadata
Err:49 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/universe amd64 DEP-11 Metadata
  Hash Sum mismatch
Get:50 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/multiverse amd64 Packages [64 B]
Get:51 http://mirror.switch.ch/ftp/mirror/ubuntu xenial-security/multiverse i386 Packages [64 B]
Get:17 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/universe amd64 DEP-11 Metadata [3 410 kB]
Get:18 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/universe DEP-11 64x64 Icons [7 448 kB]
Get:22 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/multiverse amd64 DEP-11 Metadata [63,8 kB]
Get:23 http://mirror.switch.ch/ftp/mirror/ubuntu xenial/multiverse DEP-11 64x64 Icons [230 kB]
Fetched 34,4 MB in 26s (1 305 kB/s)
Reading package lists... Done
E: Failed to fetch http://mirror.switch.ch/ftp/mirror/ubuntu/dists/xenial/restricted/dep11/by-hash/SHA256/e6280b1457cd2baf1519577450df82cb488971b8d3d65e6affd941343eae483f Hash Sum mismatch
E: Failed to fetch http://mirror.switch.ch/ftp/mirror/ubuntu/dists/xenial-updates/main/dep11/by-hash/SHA256/e2808f0646fce032b5a39adc6815a657fe8d32b227041258fcba9086a9a53c51 Hash Sum mismatch
E: Failed to fetch http://mirror.switch.ch/ftp/mirror/ubuntu/dists/xenial-updates/restricted/dep11/by-hash/SHA256/06be49103dedd5df16d0b7f1f7599aa9150124ee31b9ba9497cde43ab50e0da4 Hash Sum mismatch
E: Failed to fetch http://mirror.switch.ch/ftp/mirror/ubuntu/dists/xenial-updates/universe/dep11/by-hash/SHA256/e3b417ae507ab9e7d5f3cdf52a4399d144be0da74f8718e471e01eb07edc2470 Hash Sum mismatch
E: Failed to fetch http://mirror.switch.ch/ftp/mirror/ubuntu/dists/xenial-security/main/dep11/by-hash/SHA256/b93efd725788884544e29b7af1d3db6d922307d451f2772cadcd15899c3a3b72 Hash Sum mismatch
E: Failed to fetch http://mirror.switch.ch/ftp/mirror/ubuntu/dists/xenial-security/restricted/dep11/by-hash/SHA256/c9c5ddb7f20298793e1d4a21d705ebabc034f7f7f714b63b1dd9100529f94f65 Hash Sum mismatch
E: Failed to fetch http://mirror.switch.ch/ftp/mirror/ubuntu/dists/xenial-security/universe/dep11/by-hash/SHA256/28a656035346cf9cefeefc5e9c957e18358caffaee0e8f442983e82e9aaddb23 Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.

This command was executed right after a clean install using the DVD.

When using the main repository server everything run smoothly.

I expect that the result from the mirror is the same that using the main repos.
Instead I got what I described.

Is it well synchronized?

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1574987/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Paul White (paulw2u) wrote :

@Xavier Raemy, I've just switched my repositories to mirror.switch.ch and do not see a problem.

According to https://wiki.ubuntu.com/Bugs/FindRightPackage issues with Ubuntu Mirrors (the servers from which you download packages) should be reported to <email address hidden> and *not* on Launchpad.

Sorry but I'm marking this bug as "Invalid".

Changed in ubuntu:
status: New → Invalid
Revision history for this message
jack6.liu (jack6.liu) wrote :

tried all workarounds found by google search, no lucky at all.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.