Change from precise to all versions

Alessandro Menti alessandro.menti at hotmail.it
Fri Jul 19 21:38:49 UTC 2013


Il 19/07/2013 16:52, Anton Balashov ha scritto:
> Hi, Alessandro.
> 
>> copy the resulting package to the other releases
> 
> It's great idea, but what about an error?
> 
> *Launchpad encountered an error during the following operation: copying a
> package.  curseofwar 1.1.4-1~13.04ppa1 in raring (same version already has
> published binaries in the destination archive)*
> 
> 
Since there is a "~13.04" suffix in the name of your package (see [1]),
I assume you had to rebuild and change the sources (and that you
uploaded both source packages to your PPA), so no copying is possible.

Generally speaking, I think the process to package a software for
multiple Ubuntu releases can be summarized as follows (if I have made
any mistakes, please correct me).
1) If there are no incompatibilities between different releases (or
   "series"):
   - build the package for the lowest supported release, the entry in
     the changelog should be like:
     mypackage (0.13.2-1~ppa1) series-name; urgency=low
   - copy the resulting packages from a release to another using the
     "Copy packages" link in Launchpad; you may choose to copy the
     binary packages as well
2) If there are binary incompatibilities, but the source package for
   all releases stays the same:
   - build the package for the lowest supported release, the entry in
     the changelog should be like:
     mypackage (0.13.2-1~ppa1) series-name; urgency=low
   - copy the resulting packages from a serie to another using the
     "Copy packages" link in Launchpad; this time, you *must rebuild*
     the binary package
3) If there are incompatibilities of any kind requiring changes to the
   source package:
   - you need to create a separate source package for each release you
     want to support. In each package, make sure the changelog entry
     contains the Ubuntu version that package is intended for, like
     this (both 12.04 and series-name need to be changed, make sure
     they match):
     mypackage (0.13.2-1~ubuntu12.04~ppa1) series-name; urgency=low
   - upload each package to your PPA
   - since the sources are different, *no packages* may be copied
     between different releases

I hope this clarifies things a bit!

Alessandro Menti

[1] https://lists.ubuntu.com/archives/ubuntu-motu/2013-July/007475.html
-- 
A neutron walks into a bar and asks how much for a drink.
The bartender replies "for you, no charge".
    -- Sheldon Cooper, The Big Bang Theory



More information about the Ubuntu-motu mailing list