Comment 1 for bug 2033310

Revision history for this message
Steve Langasek (vorlon) wrote :

While it seems like a minor point, I'm not accepting this right off because of the version numbers used. mantic currently has 23.3-0ubuntu1, but the version number uploaded to lunar is 23.3-0ubuntu0~23.04.1. This sorts before 23.3-0ubuntu1 so technically meets the minimum requirements for version ordering in SRU, but it also sorts earlier than an arbitrary number of other package versions not in the archive, such as 23.3-0ubuntu0, 23.3-0ubuntu0+ppa.1, 23.3-0ubuntu1~23.04, etc.

The normal convention here would be to use 23.3-0ubuntu1~23.04.1 as a version number, signalling that this is based on 23.3-0ubuntu1, is a backport to 23.04, and there are no sourceful differences between the two.

That would also simplify handling in debian/cloud-init.maintscript, which has just added the line:

+rm_conffile /etc/NetworkManager/dispatcher.d/hook-network-manager 23.3-0ubuntu0~23.04.1~

... if using a more typical version scheme, you could use '23.3-0ubuntu1~' as the version check, across all releases, and get the intended results.