[Bug 248690] Re: do-release-upgrade fails to fetch package lists/packages (Hash sum mismatch)

Walter Garcia-Fontes walter.garcia at upf.edu
Thu Dec 15 18:30:25 UTC 2011


I'm closing this bug as it was solved originally.

** Changed in: update-manager-core (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager-core in Ubuntu.
https://bugs.launchpad.net/bugs/248690

Title:
  do-release-upgrade fails to fetch package lists/packages (Hash sum
  mismatch)

Status in “update-manager-core” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: update-manager-core

  I have a bunch of vservers running dapper LTS. I've upgraded almost
  all of them to hardy without problems, but the last two fail suddenly
  ...

  I start the upgrade (do-release-upgrade -d), and the tool downloads a lot of stuff, but fails in the last step, when checking de package lists:
  Error during update 

  A problem occurred during the update. This is usually some sort of 
  network problem, please check your network connection and retry. 

  W:Failed to fetch 
  http://archive.ubuntu.com/ubuntu/dists/hardy/main/binary-amd64/Packages.bz2 
  Hash Sum mismatch 
  , W:Failed to fetch 
  http://archive.ubuntu.com/ubuntu/dists/hardy/restricted/binary-amd64/Packages.bz2 
  Hash Sum mismatch 
  , W:Failed to fetch 
  ... (for all the Packages.bz2 files)

  I have tried other mirrors, with the same effect ...

  A normal aptitude update or apt-get update works (dapper archives).
  I've also changed my sources.list to hardy manually, and updated then
  (aptitude & apt-get), which works also fine. If I start the upgrade
  with pre-downloaded package lists (using apt-get), it passes the list
  part and actually calculates and starts the update. It downloads all
  the packages but then it fails, when checking these packages (also
  hash sum mismatch on EVERY package).

  I've checked /var/cache/apt/archives/partial, and all archives are
  renamed FAILED. I've also manually checked the md5sum of these
  packages, and they match the checksums provided on
  packages.ubuntu.com.

  I've read a few things about problems with python (which would match
  my symptoms, which only occur in the upgrade-tool), but have no idea
  how to fix them. Also, my systems are fully patched ...

  Some details about my system:
  # lsb_release -rd
  Description:	Ubuntu 6.06.2 LTS
  Release:	6.06

  # cat sources.list
  deb http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse
  deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
  deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse

  # cat /var/log/dist-upgrade/main.log 
  2008-07-15 14:12:21,834 INFO release-upgrader version '0.87.29' started
  2008-07-15 14:12:21,835 DEBUG Using 'DistUpgradeViewText' view
  2008-07-15 14:12:21,899 DEBUG enable dpkg --force-overwrite
  2008-07-15 14:12:21,964 DEBUG lsb-release: 'dapper'
  2008-07-15 14:12:21,964 INFO using backports in '/tmp/tmpBXVWCE/backports' 
  2008-07-15 14:12:21,965 DEBUG have: ['/tmp/tmpBXVWCE/backports/release-upgrader-apt_0.7.9ubuntu2_amd64.udeb', '/tmp/tmpBXVWCE/backports/release-upgrader-dpkg_1.14.5ubuntu11.6_amd64.udeb']
  2008-07-15 14:12:21,965 DEBUG adding config '/tmp/tmpBXVWCE/backports/etc/apt/apt.conf.d/01ubuntu'
  2008-07-15 14:12:21,965 DEBUG _pythonSymlinkCheck run
  2008-07-15 14:12:22,367 DEBUG checkViewDepends()
  2008-07-15 14:12:22,368 DEBUG running doUpdate() (showErrors=False)
  2008-07-15 14:12:23,017 DEBUG doPreUpgrade
  2008-07-15 14:12:23,969 DEBUG Foreign: 
  2008-07-15 14:12:23,969 DEBUG Obsolete: 
  2008-07-15 14:12:23,970 DEBUG updateSourcesList()
  2008-07-15 14:12:23,983 DEBUG rewriteSourcesList()
  2008-07-15 14:12:23,986 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse'
  2008-07-15 14:12:23,986 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu hardy main restricted universe multiverse' updated to new dist
  2008-07-15 14:12:23,986 DEBUG examining: 'deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse'
  2008-07-15 14:12:23,986 DEBUG entry 'deb http://security.ubuntu.com/ubuntu hardy-security main restricted universe multiverse' updated to new dist
  2008-07-15 14:12:23,986 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse'
  2008-07-15 14:12:23,986 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse' updated to new dist
  2008-07-15 14:12:23,987 DEBUG running doUpdate() (showErrors=True)
  2008-07-15 14:12:27,785 ERROR IOError/SystemError in cache.update(): 'W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/main/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/restricted/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/universe/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/multiverse/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/main/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/restricted/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/universe/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/multiverse/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/restricted/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/universe/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/multiverse/binary-amd64/Packages.bz2  Hash Sum mismatch
  , E:Some index files failed to download, they have been ignored, or old ones used instead.'. Retrying (currentRetry: 0)
  2008-07-15 14:12:30,691 ERROR IOError/SystemError in cache.update(): 'W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/main/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/restricted/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/universe/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/multiverse/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/main/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/restricted/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/universe/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/multiverse/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/restricted/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/universe/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/multiverse/binary-amd64/Packages.bz2  Hash Sum mismatch
  , E:Some index files failed to download, they have been ignored, or old ones used instead.'. Retrying (currentRetry: 1)
  2008-07-15 14:12:34,883 ERROR IOError/SystemError in cache.update(): 'W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/main/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/restricted/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/universe/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/multiverse/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/main/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/restricted/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/universe/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/multiverse/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/restricted/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/universe/binary-amd64/Packages.bz2  Hash Sum mismatch
  , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/multiverse/binary-amd64/Packages.bz2  Hash Sum mismatch
  , E:Some index files failed to download, they have been ignored, or old ones used instead.'. Retrying (currentRetry: 2)
  2008-07-15 14:12:34,884 ERROR doUpdate() failed completely

  # dpkg -l | grep python
  ii  python                 2.4.2-0ubuntu3               An interactive high-level object-oriented la
  ii  python-apt             0.6.16.2ubuntu8.1            Python interface to libapt-pkg
  ii  python-gnupginterface  0.3.2-7                      Python interface to GnuPG (GPG)
  ii  python-minimal         2.4.2-0ubuntu3               A minimal subset of the Python language (def
  ii  python2.4              2.4.3-0ubuntu6.1             An interactive high-level object-oriented la
  ii  python2.4-apt          0.6.16.2ubuntu8.1            Python interface to libapt-pkg
  ii  python2.4-minimal      2.4.3-0ubuntu6.1             A minimal subset of the Python language (ver

  # dpkg -l | grep update-manager
  ii  update-manager-core    0.56~dapper5                 manage release upgrades

  I hope this is enough info to track this problem down. Feel free to
  contact me when necessary

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager-core/+bug/248690/+subscriptions




More information about the foundations-bugs mailing list