Bug #11813
tails-prepare-tagged-apt-snapshot-import expects all suites that have ever been sync'ed to still be in the current snapshot it pulls packages from
100%
Description
During the 2.6 release process, this script failed with E: missing snapshot detected (repositories/torproject/dists/tor-experimental-0.2.8.x-jessie/snapshots/2016091502)
, because repositories/torproject/dists/tor-experimental-0.2.8.x-jessie
exists but that suite is obsolete, not sync’ed anymore, and thus not in the current APT snapshot this script was fed with.
I did rm -rf dists/tor-experimental-0.2.8.x-jessie
and I expect this to fix the problem. But we need some way to either clean up such cruft automatically, or to hint us into doing it whenever we remove a suite from the list of those that our time-based snapshots fetch from.
Thankfully we don’t remove suites very often, so this should not happen a lot.
Subtasks
History
#1 Updated by intrigeri 2016-11-13 12:37:07
- Priority changed from Normal to Elevated
A similar problem happens when a suite has been added to our time-based snapshots config, but wasn’t in the time-based snapshot used when building the manifest passed to tails-prepare-tagged-apt-snapshot-import
.
This class of problems caused issues during two releases in a row, so I’m bumping priority.
#2 Updated by intrigeri 2016-11-13 12:51:32
- Status changed from Confirmed to In Progress
- % Done changed from 0 to 10
Turned this into a non-fatal warning, let’s see how it goes. See commit d9df8eb994554f7983b88c0eabe7d9f00a9d7b8b in puppet-tails for details about why it sounds safe to me.
#3 Updated by intrigeri 2016-11-13 13:15:30
- Status changed from In Progress to Resolved
- Target version changed from Tails_2.9.1 to Tails_2.7
- % Done changed from 10 to 100
Worked for bertagaz preparing the 2.7 tagged snapshots.
#4 Updated by intrigeri 2016-11-13 13:16:54
- Status changed from Resolved to In Progress
- Target version changed from Tails_2.7 to Tails_2.9.1
- % Done changed from 100 to 50
Except that:
Fail:
I: - torproject aptmethod error receiving 'file:///srv/apt-snapshots/time-based/repositories/torproject/dists/tor-experimental-0.2.9.x-jessie/snapshots/2016102102/Release':
'Fichier non trouvé'
#5 Updated by intrigeri 2016-11-15 10:17:39
- Status changed from In Progress to Resolved
- Assignee deleted (
intrigeri) - Target version changed from Tails_2.9.1 to Tails_2.7
- % Done changed from 50 to 100
Fixed.