← Back to team overview

touch-packages team mailing list archive

[Bug 1373598] Re: apt-get update fails, hash sum mismatches (trusty)

 

I am experiencing the same.

It must be a problem with the German ubuntu archives.
The Swiss archives work without a problem.

There must be something, that the Swiss do better?
Let's find it out! ;-)

# nslookup de.archive.ubuntu.com
	Server:         127.0.0.1
	Address:        127.0.0.1#53

	Non-authoritative answer:
	de.archive.ubuntu.com   canonical name = ubuntu.mirror.tudos.de.
	Name:   ubuntu.mirror.tudos.de
	Address: 141.30.13.10
	Name:   ubuntu.mirror.tudos.de
	Address: 141.30.13.20
	Name:   ubuntu.mirror.tudos.de
	Address: 141.30.13.30

# cat /etc/apt/sources.list
	deb http://de.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
	deb-src http://de.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
	deb http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
	deb-src http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse

	deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
	deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse

# LANG=en_us apt-get update
	Ign http://de.archive.ubuntu.com trusty InRelease
	Ign http://security.ubuntu.com trusty-security InRelease
	Ign http://de.archive.ubuntu.com trusty-updates InRelease
	Hit http://security.ubuntu.com trusty-security Release.gpg
	Hit http://de.archive.ubuntu.com trusty Release.gpg
	Hit http://security.ubuntu.com trusty-security Release
	Hit http://de.archive.ubuntu.com trusty-updates Release.gpg
	Hit http://de.archive.ubuntu.com trusty Release
	Hit http://security.ubuntu.com trusty-security/main Sources
	Hit http://de.archive.ubuntu.com trusty-updates Release
	Hit http://security.ubuntu.com trusty-security/restricted Sources
	Hit http://de.archive.ubuntu.com trusty/main Sources
	Hit http://security.ubuntu.com trusty-security/universe Sources
	Hit http://de.archive.ubuntu.com trusty/restricted Sources
	Hit http://security.ubuntu.com trusty-security/multiverse Sources
	Hit http://de.archive.ubuntu.com trusty/universe Sources
	Hit http://security.ubuntu.com trusty-security/main amd64 Packages
	Hit http://de.archive.ubuntu.com trusty/multiverse Sources
	Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
	Hit http://de.archive.ubuntu.com trusty/main amd64 Packages
	Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
	Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
	Hit http://de.archive.ubuntu.com trusty/restricted amd64 Packages
	Hit http://security.ubuntu.com trusty-security/main i386 Packages
	Hit http://de.archive.ubuntu.com trusty/universe amd64 Packages
	Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
	Hit http://de.archive.ubuntu.com trusty/multiverse amd64 Packages
	Hit http://security.ubuntu.com trusty-security/universe i386 Packages
	Hit http://de.archive.ubuntu.com trusty/main i386 Packages
	Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
	Hit http://de.archive.ubuntu.com trusty/restricted i386 Packages
	Hit http://security.ubuntu.com trusty-security/main Translation-en
	Hit http://de.archive.ubuntu.com trusty/universe i386 Packages
	Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
	Hit http://de.archive.ubuntu.com trusty/multiverse i386 Packages
	Hit http://security.ubuntu.com trusty-security/restricted Translation-en
	Hit http://security.ubuntu.com trusty-security/universe Translation-en
	Hit http://de.archive.ubuntu.com trusty/main Translation-en
	Hit http://de.archive.ubuntu.com trusty/main Translation-de
	Hit http://de.archive.ubuntu.com trusty/multiverse Translation-en
	Hit http://de.archive.ubuntu.com trusty/multiverse Translation-de
	Hit http://de.archive.ubuntu.com trusty/restricted Translation-en
	Hit http://de.archive.ubuntu.com trusty/restricted Translation-de
	Hit http://de.archive.ubuntu.com trusty/universe Translation-en
	Hit http://de.archive.ubuntu.com trusty/universe Translation-de
	Hit http://de.archive.ubuntu.com trusty-updates/restricted Sources
	Hit http://de.archive.ubuntu.com trusty-updates/universe Sources
	Hit http://de.archive.ubuntu.com trusty-updates/multiverse Sources
	Hit http://de.archive.ubuntu.com trusty-updates/main amd64 Packages
	Hit http://de.archive.ubuntu.com trusty-updates/restricted amd64 Packages
	Hit http://de.archive.ubuntu.com trusty-updates/universe amd64 Packages
	Hit http://de.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
	Hit http://de.archive.ubuntu.com trusty-updates/main i386 Packages
	Hit http://de.archive.ubuntu.com trusty-updates/restricted i386 Packages
	Hit http://de.archive.ubuntu.com trusty-updates/universe i386 Packages
	Hit http://de.archive.ubuntu.com trusty-updates/multiverse i386 Packages
	Hit http://de.archive.ubuntu.com trusty-updates/multiverse Translation-en
	Hit http://de.archive.ubuntu.com trusty-updates/restricted Translation-en
	Hit http://de.archive.ubuntu.com trusty-updates/universe Translation-en
	Get:1 http://de.archive.ubuntu.com trusty-updates/main Sources [138 kB]
	Get:2 http://de.archive.ubuntu.com trusty-updates/main Translation-en [161 kB]
	Fetched 299 kB in 6s (48.1 kB/s)
	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/i18n/Translation-en  Hash Sum mismatch
	
	E: Some index files failed to download. They have been ignored, or old ones used instead.

# cp -a /etc/apt/sources.list /etc/apt/sources.list.ch
# mv /etc/apt/sources.list /etc/apt/sources.list.de
# ln -s sources.list.ch /etc/apt/sources.list
# vim /etc/apt/sources.list.ch
	deb http://ch.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
	deb-src http://ch.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
	deb http://ch.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
	deb-src http://ch.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse

	deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
	deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse

# nslookup ch.archive.ubuntu.com
	Server:         127.0.0.1
	Address:        127.0.0.1#53

	Non-authoritative answer:
	ch.archive.ubuntu.com   canonical name = mirror.switch.ch.
	mirror.switch.ch        canonical name = frisal.switch.ch.
	Name:   frisal.switch.ch
	Address: 130.59.10.36

# LANG=en_us apt-get update
	Ign http://security.ubuntu.com trusty-security InRelease
	Hit http://security.ubuntu.com trusty-security Release.gpg
	Ign http://ch.archive.ubuntu.com trusty InRelease
	Hit http://security.ubuntu.com trusty-security Release
	Ign http://ch.archive.ubuntu.com trusty-updates InRelease
	Hit http://security.ubuntu.com trusty-security/main Sources
	Get:1 http://ch.archive.ubuntu.com trusty Release.gpg [933 B]
	Hit http://security.ubuntu.com trusty-security/restricted Sources
	Get:2 http://ch.archive.ubuntu.com trusty-updates Release.gpg [933 B]
	Hit http://security.ubuntu.com trusty-security/universe Sources
	Hit http://security.ubuntu.com trusty-security/multiverse Sources
	Hit http://security.ubuntu.com trusty-security/main amd64 Packages
	Get:3 http://ch.archive.ubuntu.com trusty Release [58.5 kB]
	Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
	Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
	Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
	Hit http://security.ubuntu.com trusty-security/main i386 Packages
	Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
	Hit http://security.ubuntu.com trusty-security/universe i386 Packages
	Get:4 http://ch.archive.ubuntu.com trusty-updates Release [62.0 kB]
	Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
	Hit http://security.ubuntu.com trusty-security/main Translation-en
	Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
	Hit http://security.ubuntu.com trusty-security/restricted Translation-en
	Hit http://security.ubuntu.com trusty-security/universe Translation-en
	Get:5 http://ch.archive.ubuntu.com trusty/main Sources [1064 kB]
	Get:6 http://ch.archive.ubuntu.com trusty/restricted Sources [5433 B]
	Get:7 http://ch.archive.ubuntu.com trusty/universe Sources [6399 kB]
	Get:8 http://ch.archive.ubuntu.com trusty/multiverse Sources [174 kB]
	Get:9 http://ch.archive.ubuntu.com trusty/main amd64 Packages [1350 kB]
	Get:10 http://ch.archive.ubuntu.com trusty/restricted amd64 Packages [13.0 kB]
	Get:11 http://ch.archive.ubuntu.com trusty/universe amd64 Packages [5859 kB]
	Get:12 http://ch.archive.ubuntu.com trusty/multiverse amd64 Packages [132 kB]
	Get:13 http://ch.archive.ubuntu.com trusty/main i386 Packages [1348 kB]
	Get:14 http://ch.archive.ubuntu.com trusty/restricted i386 Packages [13.4 kB]
	Get:15 http://ch.archive.ubuntu.com trusty/universe i386 Packages [5866 kB]
	Get:16 http://ch.archive.ubuntu.com trusty/multiverse i386 Packages [134 kB]
	Get:17 http://ch.archive.ubuntu.com trusty/main Translation-en [762 kB]
	Get:18 http://ch.archive.ubuntu.com trusty/main Translation-de [672 kB]
	Get:19 http://ch.archive.ubuntu.com trusty/multiverse Translation-en [102 kB]
	Get:20 http://ch.archive.ubuntu.com trusty/multiverse Translation-de [107 kB]
	Get:21 http://ch.archive.ubuntu.com trusty/restricted Translation-en [3457 B]
	Get:22 http://ch.archive.ubuntu.com trusty/restricted Translation-de [3696 B]
	Get:23 http://ch.archive.ubuntu.com trusty/universe Translation-en [4089 kB]
	Get:24 http://ch.archive.ubuntu.com trusty/universe Translation-de [2219 kB]
	Get:25 http://ch.archive.ubuntu.com trusty-updates/main Sources [137 kB]
	Get:26 http://ch.archive.ubuntu.com trusty-updates/restricted Sources [1408 B]
	Get:27 http://ch.archive.ubuntu.com trusty-updates/universe Sources [90.7 kB]
	Get:28 http://ch.archive.ubuntu.com trusty-updates/multiverse Sources [3536 B]
	Get:29 http://ch.archive.ubuntu.com trusty-updates/main amd64 Packages [357 kB]
	Get:30 http://ch.archive.ubuntu.com trusty-updates/restricted amd64 Packages [5820 B]
	Get:31 http://ch.archive.ubuntu.com trusty-updates/universe amd64 Packages [219 kB]
	Get:32 http://ch.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [9381 B]
	Get:33 http://ch.archive.ubuntu.com trusty-updates/main i386 Packages [353 kB]
	Get:34 http://ch.archive.ubuntu.com trusty-updates/restricted i386 Packages [5820 B]
	Get:35 http://ch.archive.ubuntu.com trusty-updates/universe i386 Packages [219 kB]
	Get:36 http://ch.archive.ubuntu.com trusty-updates/multiverse i386 Packages [9532 B]
	Get:37 http://ch.archive.ubuntu.com trusty-updates/main Translation-en [162 kB]
	Get:38 http://ch.archive.ubuntu.com trusty-updates/multiverse Translation-en [4719 B]
	Get:39 http://ch.archive.ubuntu.com trusty-updates/restricted Translation-en [1736 B]
	Get:40 http://ch.archive.ubuntu.com trusty-updates/universe Translation-en [110 kB]
	Fetched 32.1 MB in 1min 7s (473 kB/s)
	Reading package lists... Done

** Also affects: apt (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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 (trusty)

Status in “apt” package in Ubuntu:
  New
Status in “ubuntu-release-upgrader” package in Ubuntu:
  Confirmed

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