arch all packages not correctly superseded across all architectures
Bug #48760 reported by
James Troup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Celso Providelo |
Bug Description
If foo_1.0-1_all.deb is in the archive and foo 1.0-2 is uploaded which changes the architecture to any, 1.0-1 should be removed from all architectures. Currently soyuz doesn't do this. An extant example is cowbell on hppa, which has 0.2.6.2-
Changed in soyuz: | |
milestone: | 1.1.11 → 1.1.12 |
Changed in soyuz: | |
status: | Confirmed → In Progress |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Sorry, on re-reading this isn't very clear. FWIW, the algorithm 'dak make-suite- file-list' uses is:
o For each suite:
o For each pkg:
o If there's no arch_all deb, continue
o If there's only an arch_all deb, continue
o [if we got here, we have an arch_all deb and at least one arch_any .deb]
o Determine the highest version number of the !_all .deb's
o Compare that version number with the version number of the arch_all deb
o If the highest arch_any is > the arch_all, remove the arch_all (NB: from all architectures - but that's implicit in the dak database model) copy of the package from this suite
o If the arch_all > highest arch_any, remove all of the arch_any entries for this package from this suite.
Hopefully that's clearer.