How to provide deb packages for multiple releases of Ubuntu?

Asked by Dawid Kozinski

Could anyone tell me the way how to provide deb packages for multiple Ubuntu releases, let's say 3 latest LTS-es (bionic focal jammy)?
While attempting to specify 3 Ubuntu series at once in the changelog file, my submission was rejected ( unable to find distroseries: bionic focal jammy ).
Should I maintain 3 branches of my project, each one for a specific Ubuntu release on my repository? Or maybe one knows a better approach.

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said (last edit ):
#1

see https://help.launchpad.net/Packaging/PPA/Copying

Upload the source to the oldest release (e.g. bionic) and then copy it to the newer ones (focal and jammy).

Revision history for this message
Guruprasad (lgp171188) said :
#2

Hi David,

There are 2 ways to do this:
* build the package for the oldest of the releases you care about, then once the build has finished and been published, copy the binaries forward to the newer releases (e.g. build for bionic and then publish those binaries for focal and jammy as well). This is what Manfred has mentioned in his comment above.

* create one source package version per release. People taking the "one source package version per release" approach often end up automating it using source package recipes.

Can you help with this problem?

Provide an answer of your own, or ask Dawid Kozinski for more information if necessary.

To post a message you must log in.