One tricky aspect of backporting new versions to older releases is that versions in older series must always sort lower than the ones in the newer series. Here, you have 2.3.0-2 in Lunar, so we need a version number that will sort lower than that in Jammy, which 2.3.0-2ubuntu0.22.04.1 doesn't.
I'd probably go for a 2.3.0-2~ubuntu0.22.04. Note the ~, which is a special character that sorts lower than anything else including the empty string. You can check using dpkg --compare-versions (see the dpkg man page).
Hi Mitchell,
One tricky aspect of backporting new versions to older releases is that versions in older series must always sort lower than the ones in the newer series. Here, you have 2.3.0-2 in Lunar, so we need a version number that will sort lower than that in Jammy, which 2.3.0-2ubuntu0. 22.04.1 doesn't.
I usually follow the rulebook at https:/ /wiki.ubuntu. com/SecurityTea m/UpdatePrepara tion#Update_ the_packaging to craft my SRU version numbers, but it doesn't apply here, sadly.
I'd probably go for a 2.3.0-2~ ubuntu0. 22.04. Note the ~, which is a special character that sorts lower than anything else including the empty string. You can check using dpkg --compare-versions (see the dpkg man page).