Apt indexes can expire quickly, cause failures

Bug #1342838 reported by Nicholas Skaggs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopkgtest (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

autopkgtest depends on apt indexes on the target being up to date. This can cause failures when the indexes change, especially when tracking a development release with frequent updates.

At the least, I would request a small note when this error occurs that would inform the user to update the apt indexes on the target, then try running adt-run again.

Related branches

description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

You'll see fairly clearly when the apt indexes are out of date and apt fails to download package versions which don't exist any more. adt-run could detect this in r/o mode and re-download into a temporary dir instead.

Until then you can use the -w option of ssh-setup/adb, and --setup-commands "apt-get update".

Changed in autopkgtest (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Martin Pitt (pitti)
Changed in autopkgtest (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopkgtest - 3.3.1

---------------
autopkgtest (3.3.1) unstable; urgency=medium

  * Accept comma separators in Tests:, Restrictions:, and Features: fields;
    this is consistent with Depends: and avoids skipping tests. (LP: #1347958)
  * Generalize implementation of getting an interactive shell in testbeds.
    Most runners now don't need to provide a hook_shell() any more.
  * Export install environment to interactive testbed shells, so that
    unpacked test depends in the temp dir are accessible. (LP: #1339103)
  * lxc: Don't fail on a nonexisting /etc/environment or /etc/default/locale.
    (LP: #1348749)
  * adb ssh script: Add --apt-update option to run "apt-get update" (with
    temporarily switching to r/w), to run tests on older development images.
    (LP: #1342838)
  * Drop the very short and unnecessary install timeouts from the NullRunner
    tests.

 -- Martin Pitt <email address hidden> Tue, 29 Jul 2014 13:45:36 +0200

Changed in autopkgtest (Ubuntu):
status: Fix Committed → Fix Released
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.