← Back to team overview

touch-packages team mailing list archive

[Bug 1373598] Re: apt-get update fails, hash sum mismatches with de.archive.ubuntu.com

 

I have been seeing this a lot lately on DigitalOcean using
mirrors.ubuntu.com/mirrrors.txt which gives me the following mirrors:

```
% curl http://mirrors.ubuntu.com/mirrors.txt
http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/
http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/
http://ubuntu.mirrors.uk2.net/ubuntu/
http://mirrors.coreix.net/ubuntu/
http://mirror.vorboss.net/ubuntu-archive/
http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu/
http://mirror.sov.uk.goscomb.net/ubuntu/
http://ubuntu.positive-internet.com/ubuntu/
http://mirror.bytemark.co.uk/ubuntu/
http://ubuntu.datahop.net/ubuntu/
http://archive.ubuntu.com/ubuntu/
http://mirrors.melbourne.co.uk/ubuntu/
http://ubuntu.retrosnub.co.uk/ubuntu/
http://mirror.as29550.net/archive.ubuntu.com/
http://repo.bigstepcloud.com/ubuntu/
```

and what I get with apt update is:

```
Ign http://ppa.launchpad.net vivid InRelease
Ign http://ppa.launchpad.net vivid InRelease
Ign http://archive.canonical.com vivid InRelease
Ign http://security.ubuntu.com vivid-security InRelease
Hit http://ppa.launchpad.net vivid Release.gpg
Hit http://archive.canonical.com vivid Release.gpg
Hit http://ppa.launchpad.net vivid Release.gpg
Hit http://archive.canonical.com vivid Release
Hit http://ppa.launchpad.net vivid Release
Get:1 http://security.ubuntu.com vivid-security Release.gpg [933 B]
Hit http://ppa.launchpad.net vivid Release
Get:2 http://security.ubuntu.com vivid-security Release [63.5 kB]
Ign http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid InRelease
Hit http://archive.canonical.com vivid/partner Sources
Ign http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates InRelease
Ign http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports InRelease
Ign http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security InRelease
Hit http://archive.canonical.com vivid/partner amd64 Packages
Hit http://archive.canonical.com vivid/partner i386 Packages
Get:3 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid Release.gpg [933 B]
Ign http://archive.canonical.com vivid/partner Translation-en
Get:4 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates Release.gpg [933 B]
Get:5 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports Release.gpg [933 B]
Get:6 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security Release.gpg [933 B]
Get:7 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid Release [217 kB]
Hit http://ppa.launchpad.net vivid/main Sources
Hit http://ppa.launchpad.net vivid/main amd64 Packages
Hit http://ppa.launchpad.net vivid/main i386 Packages
Hit http://ppa.launchpad.net vivid/main Translation-en
Get:8 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates Release [63.5 kB]
Get:9 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports Release [59.7 kB]
Get:10 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security Release [63.5 kB]
Get:11 http://security.ubuntu.com vivid-security/main Sources [21.1 kB]
Get:12 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/main Sources [1077 kB]
Get:13 http://security.ubuntu.com vivid-security/restricted Sources [28 B]
Get:14 http://security.ubuntu.com vivid-security/universe Sources [9445 B]
Get:15 http://security.ubuntu.com vivid-security/multiverse Sources [1964 B]
Hit http://ppa.launchpad.net vivid/main Sources
Get:16 http://security.ubuntu.com vivid-security/main amd64 Packages [64.0 kB]
Hit http://ppa.launchpad.net vivid/main amd64 Packages
Hit http://ppa.launchpad.net vivid/main i386 Packages
Hit http://ppa.launchpad.net vivid/main Translation-en
Get:17 http://security.ubuntu.com vivid-security/restricted amd64 Packages [28 B]
Get:18 http://security.ubuntu.com vivid-security/universe amd64 Packages [34.1 kB]
Get:19 http://security.ubuntu.com vivid-security/multiverse amd64 Packages [3494 B]
Get:20 http://security.ubuntu.com vivid-security/main i386 Packages [63.5 kB]
Get:21 http://security.ubuntu.com vivid-security/restricted i386 Packages [28 B]
Get:22 http://security.ubuntu.com vivid-security/universe i386 Packages [34.1 kB]
Get:23 http://security.ubuntu.com vivid-security/multiverse i386 Packages [3679 B]
Hit http://security.ubuntu.com vivid-security/restricted Translation-en
Hit http://security.ubuntu.com vivid-security/main Translation-en
Hit http://security.ubuntu.com vivid-security/multiverse Translation-en
Hit http://security.ubuntu.com vivid-security/universe Translation-en
Get:24 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/restricted Sources [7162 B]
Get:25 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/universe Sources [7017 kB]
Get:26 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/multiverse Sources [174 kB]
Get:27 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/main amd64 Packages [1364 kB]
Get:28 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/restricted amd64 Packages [15.4 kB]
Get:29 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/universe amd64 Packages [6485 kB]
Get:30 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/multiverse amd64 Packages [134 kB]
Get:31 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/main i386 Packages [1361 kB]
Get:32 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/restricted i386 Packages [15.5 kB]
Get:33 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/universe i386 Packages [6486 kB]
Get:34 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/multiverse i386 Packages [134 kB]
Get:35 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/main Translation-en [793 kB]
Get:36 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/main Translation-fi [122 kB]
Get:37 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/multiverse Translation-en [103 kB]
Get:38 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/multiverse Translation-fi [10.4 kB]
Get:39 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/restricted Translation-en [4228 B]
Get:40 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/restricted Translation-fi [1525 B]
Get:41 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/universe Translation-en [4456 kB]
Get:42 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid/universe Translation-fi [212 kB]
Get:43 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/main Sources [6542 B]
Get:44 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/restricted Sources [28 B]
Get:45 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/universe Sources [1581 B]
Get:46 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/multiverse Sources [28 B]
Get:47 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/main amd64 Packages [20.9 kB]
Get:48 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/restricted amd64 Packages [28 B]
Get:49 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/universe amd64 Packages [7339 B]
Get:50 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/multiverse amd64 Packages [28 B]
Get:51 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/main i386 Packages [20.9 kB]
Get:52 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/restricted i386 Packages [28 B]
Get:53 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/universe i386 Packages [7325 B]
Get:54 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/multiverse i386 Packages [28 B]
Get:55 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/main Translation-en [11.7 kB]
Get:56 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/multiverse Translation-en [14 B]
Get:57 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/restricted Translation-en [14 B]
Get:58 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-updates/universe Translation-en [6388 B]
Get:59 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/main Sources [14 B]
Get:60 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/restricted Sources [14 B]
Get:61 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/universe Sources [14 B]
Get:62 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/multiverse Sources [14 B]
Get:63 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/main amd64 Packages [14 B]
Get:64 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/restricted amd64 Packages [14 B]
Get:65 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/universe amd64 Packages [14 B]
Get:66 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/multiverse amd64 Packages [14 B]
Get:67 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/main i386 Packages [14 B]
Get:68 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/restricted i386 Packages [14 B]
Get:69 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/universe i386 Packages [14 B]
Get:70 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/multiverse i386 Packages [14 B]
Get:71 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/main Translation-en [14 B]
Get:72 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/multiverse Translation-en [14 B]
Get:73 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/restricted Translation-en [14 B]
Get:74 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-backports/universe Translation-en [14 B]
Get:75 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/main Sources [5317 B]
Get:76 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/restricted Sources [28 B]
Get:77 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/universe Sources [1581 B]
Get:78 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/multiverse Sources [28 B]
Get:79 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/main amd64 Packages [16.9 kB]
Get:80 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/restricted amd64 Packages [28 B]
Get:81 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/universe amd64 Packages [6863 B]
Get:82 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/multiverse amd64 Packages [28 B]
Get:83 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/main i386 Packages [16.9 kB]
Get:84 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/restricted i386 Packages [28 B]
Get:85 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/universe i386 Packages [6854 B]
Get:86 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/multiverse i386 Packages [28 B]
Get:87 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/main Translation-en [7459 B]
Get:88 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/multiverse Translation-en [14 B]
Get:89 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/restricted Translation-en [14 B]
Get:90 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu/ vivid-security/universe Translation-en [5809 B]
Fetched 30.8 MB in 21s (1463 kB/s)
W: Failed to fetch mirror://mirrors.ubuntu.com/mirrors.txt/dists/vivid-updates/main/i18n/Translation-en  Hash Sum mismatch

W: Failed to fetch mirror://mirrors.ubuntu.com/mirrors.txt/dists/vivid-
updates/universe/i18n/Translation-en  Hash Sum mismatch

W: Failed to fetch mirror://mirrors.ubuntu.com/mirrors.txt/dists/vivid-
security/main/i18n/Translation-en  Hash Sum mismatch

W: Failed to fetch mirror://mirrors.ubuntu.com/mirrors.txt/dists/vivid-
security/universe/i18n/Translation-en  Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
```

And my sources.list is:

```
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb mirror://mirrors.ubuntu.com/mirrors.txt vivid main restricted universe multiverse

## Major bug fix updates produced after the final vivid of the
## distribution.
deb mirror://mirrors.ubuntu.com/mirrors.txt vivid-updates main restricted universe multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main vivid, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb mirror://mirrors.ubuntu.com/mirrors.txt vivid-backports main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt vivid-security main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu vivid-security main restricted universe multiverse
deb-src mirror://mirrors.ubuntu.com/mirrors.txt vivid main restricted universe multiverse
deb-src mirror://mirrors.ubuntu.com/mirrors.txt vivid-updates main restricted universe multiverse
deb-src mirror://mirrors.ubuntu.com/mirrors.txt vivid-backports main restricted universe multiverse
deb-src mirror://mirrors.ubuntu.com/mirrors.txt vivid-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu vivid-security main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu vivid partner
deb-src http://archive.canonical.com/ubuntu vivid partner
```

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1373598

Title:
  apt-get update fails, hash sum mismatches with de.archive.ubuntu.com

Status in apt package in Ubuntu:
  Confirmed
Status in ubuntu-release-upgrader package in Ubuntu:
  Invalid

Bug description:
  1. Release: 
  Description:	Ubuntu 14.04.1 LTS
  Release:	14.04

  2.  not a package. The whole distro is broken.

  3. I always expect apt-get update to work, at least with Ubuntu's own
  repositories.

  4. "apt-get update" failed, and later "apt-get dist upgrade"

  
  It started with this when doing a normal "apt-get update"

  W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/trusty-
  updates/main/source/Sources  Hash Sum mismatch

  W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/trusty-
  updates/main/binary-amd64/Packages  Hash Sum mismatch

  W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/trusty-
  updates/universe/binary-i386/Packages  Hash Sum mismatch

  E: Some index files failed to download. They have been ignored, or old
  ones used instead.

  
  When doing a dist-upgrade, I then got this:
  E: mkinitramfs failure cpio 141 gzip 1
  update-initramfs: failed for /boot/initrd.img-3.13.0-36-generic with 1.
  run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-extra-3.13.0-36-generic.postinst line 1025.
  No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                            dpkg: error processing package linux-image-extra-3.13.0-36-generic (--configure):
   subprocess installed post-installation script returned error exit status 2
  dpkg: dependency problems prevent configuration of linux-image-generic:
   linux-image-generic depends on linux-image-extra-3.13.0-36-generic; however:
    Package linux-image-extra-3.13.0-36-generic is not configured yet.

  dpkg: error processing package linux-image-generic (--configure):
   dependency problems - leaving unconfigured
  Setting up linux-headers-3.13.0-36 (3.13.0-36.63) ...
  Setting up linux-headers-3.13.0-36-generic (3.13.0-36.63) ...
  Examining /etc/kernel/header_postinst.d.
  run-parts: executing /etc/kernel/header_postinst.d/dkms 3.13.0-36-generic /boot/vmlinuz-3.13.0-36-generic
  Setting up linux-headers-generic (3.13.0.36.43) ...
  No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                            dpkg: dependency problems prevent configuration of linux-generic:
   linux-generic depends on linux-image-generic (= 3.13.0.36.43); however:
    Package linux-image-generic is not configured yet.

  dpkg: error processing package linux-generic (--configure):
   dependency problems - leaving unconfigured

  
  And later this at the end:
  Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubuntu-release-upgrader-core 1:0.220.5
  ProcVersionSignature: Ubuntu 3.13.0-34.60-generic 3.13.11.4
  Uname: Linux 3.13.0-34-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.4
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: Unity
  Date: Wed Sep 24 21:57:55 2014
  InstallationDate: Installed on 2013-05-09 (503 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: dist-upgrade
  UpgradeStatus: Upgraded to trusty on 2014-05-04 (142 days ago)
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1373598/+subscriptions