[Bug 1319416] [NEW] Auto-retry on apt-get update failures

Martin Pitt martin.pitt at ubuntu.com
Wed May 14 14:05:25 UTC 2014


Public bug reported:

"apt-get update" occasionally fails with something like

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/ftpmaster
.internal_ubuntu_dists_utopic_universe_binary-i386_Packages  Hash Sum
mismatch

This happens when apt downloads Release, then a mirror pulse happens in
the middle, and the subsequently downloaded Packages.gz are from the
next archive update.

In that case we should auto-retry apt-get once, like in
http://bazaar.launchpad.net/~canonical-launchpad-branches/launchpad-
buildd/trunk/revision/106?compare_revid=104

** Affects: autopkgtest (Ubuntu)
     Importance: High
     Assignee: Martin Pitt (pitti)
         Status: Triaged

** Changed in: autopkgtest (Ubuntu)
       Status: New => Triaged

** Changed in: autopkgtest (Ubuntu)
   Importance: Undecided => High

** Changed in: autopkgtest (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

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

Title:
  Auto-retry on apt-get update failures

Status in “autopkgtest” package in Ubuntu:
  Triaged

Bug description:
  "apt-get update" occasionally fails with something like

  W: Failed to fetch bzip2:/var/lib/apt/lists/partial/ftpmaster
  .internal_ubuntu_dists_utopic_universe_binary-i386_Packages  Hash Sum
  mismatch

  This happens when apt downloads Release, then a mirror pulse happens
  in the middle, and the subsequently downloaded Packages.gz are from
  the next archive update.

  In that case we should auto-retry apt-get once, like in
  http://bazaar.launchpad.net/~canonical-launchpad-branches/launchpad-
  buildd/trunk/revision/106?compare_revid=104

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



More information about the foundations-bugs mailing list