Backport is rejected if an older backport is already there

Bug #58144 reported by John Dong
20
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Celso Providelo

Bug Description

k3b 0.12.16 was already in dapper-backports, but I now want 0.12.17 in dapper-backports. Soyuz is rejecting the backport because an older backport exists in the archive. This should not be the case; newer backports should replace older ones.

The exact message I got via e-mail is:

k3b: Version newer than that in BACKPORTS. 0.12.17-1ubuntu2~dapper1 >= 0.12.16-1ubuntu3~dapper1

Tags: lp-soyuz
Revision history for this message
Colin Watson (cjwatson) wrote :

I think this check is wrong anyway. If we want to supersede a version in backports with a version in another pocket, then we should be able to do so. Certainly I agree with John that an upload to backports should be able to supersede an older upload to backports, but I'd go further and say that this check should be removed entirely as it's wrong.

Does anyone on the Soyuz team know why this check was added?

Revision history for this message
Colin Watson (cjwatson) wrote :

Note further that changes to released distributions are subject to manual approval anyway, and backports are only relevant to released distributions. So forbidding updates from superseding backports because it might have been accidental or something doesn't really make a lot of sense to me.

Revision history for this message
Diogo Matsubara (matsubara) wrote :

Celso,

could you take a look at this?

Revision history for this message
Celso Providelo (cprov) wrote :

Colin, see the bug #34089 for reference to what we do for BACKPORTS.

Anyway it's wrong because it's not allowing us to superseded version in BACKPORTS pocket itself, this fix wil be easy, but as you've pointed it might be entirely wrong.

What do you think ?

Revision history for this message
Celso Providelo (cprov) wrote :

promoting to critical since it's clearly a blocker to dapper LTS

Changed in soyuz:
assignee: nobody → cprov
importance: Untriaged → Critical
status: Unconfirmed → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

I can see Martin's argument, but it misses the possibility that a package might stop being backportable from edgy to dapper at some point (either because the package changes to make backporting impossible, or because backporting is no longer desirable for some reason). In this case, the version in -backports would no longer be only minimally smaller than unstable, and it might make sense for a newer version to be uploaded to -updates.

It is also conceivable (perhaps not in Ubuntu, but elsewhere - it's a matter of distribution policy) that a distribution might decide that after a version has been tried out in -backports for a while it can be uploaded more "normally" to -updates.

However, I don't feel strongly about this, and we have no immediate use case where we want to supersede -backports with -updates. Allowing -backports to supersede -backports itself is clearly more urgent.

Revision history for this message
Celso Providelo (cprov) wrote :

The trivial fix is implemented in my `small-fixes` it allow new versions in -backports. Sorry for the inconvenient, I'll let you know when the code gets in production.

The central issue needs discussion, I guess. Colin, can you get a consensual position from distro-team ?

Changed in soyuz:
status: Confirmed → In Progress
Revision history for this message
Matt Zimmerman (mdz) wrote :

According to kiko, this is fixed and awaiting rollout, so marking Fix Committed.

Changed in soyuz:
status: In Progress → Fix Committed
Revision history for this message
Celso Providelo (cprov) wrote :

Well, in fact, it was landed in RF 4066.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Released then

Changed in soyuz:
status: Fix Committed → Fix Released
Revision history for this message
Celso Providelo (cprov) wrote :

no, its not released yet.
Soyuz codeline is a RF 3909 plus several related cherrypicks until RF 4052 and the fix for bug #58187 applied locally .

Changed in soyuz:
status: Fix Released → Fix Committed
Revision history for this message
Celso Providelo (cprov) wrote :

partially released in Soyuz codeline, only relevant bits of RF 4066 (r=kiko)

Changed in soyuz:
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.