Apt indexes can expire quickly, cause failures
Bug #1342838 reported by
Nicholas Skaggs
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 |
Changed in autopkgtest (Ubuntu): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
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".