[Bug 178102] Re: (Pro|De)motion loses arch: all binaries
William Grant
william at qeuni.net
Thu Jan 3 21:29:25 GMT 2008
** Summary changed:
- (Quick) promotion and demotion can lose binaries
+ (Pro|De)motion loses arch: all binaries
** Description changed:
For some reason, esound 0.2.38-0ubuntu4 was demoted almost 24 hours ago,
and promoted again 3 hours later. Today we have massive uninstallability
and FTBFSing, due to esound-common being... completely missing.
-
- I suspect what happened is the following, though I can't see the code so it's a bit of an educated guess:
- - Demotion requested
- - Demotion sets the BinaryPackagePublishing in main to Superseded.
- - Demotion checks if it's about to clobber an existing BinaryPackagePublishing in universe.
- - Demotion doesn't find one, so creates a new Published one.
- [3 hours pass]
- - Promotion requested
- - Promotion sets the universe one to Superseded.
- - Promotion checks if it's about to clobber an existing BinaryPackagePublishing in main.
- - Promotion finds the existing one (which was superseded 3 hours ago), so doesn't create a new one.
-
- Here we have an unfortunate state where we (I presume) have two
- BinaryPackagePublishings which are marked Superseded. process-deathrow
- (or the binary equivalent) runs after a while, and obliterates both of
- them. I presume this situation won't occur (although it might - I'm not
- sure if a SourcePackageRelease has been demoted and promoted and just
- not been noticed) if deathrow is processed before the promotion, as the
- (de|pro)motion will hopefully realise that the BPP is deleted, and
- create a new one.
--
(Pro|De)motion loses arch: all binaries
https://bugs.launchpad.net/bugs/178102
You received this bug notification because you are a member of Ubuntu
Package Archive Administrators, which is a direct subscriber.
More information about the ubuntu-archive
mailing list