Ubuntu – How to copy packages within a PPA from one release to another? (nonsensical “same version already has published binaries” error)

launchpadppa

I keep getting weird errors from launchpad when I try and copy the Maverick packages to Natty for the PPA. I select the wine1.3 package (not in Ubuntu), select "copy to this PPA", and then select "rebuild the resulting binaries". This error emerges:

The following source cannot be copied:

wine1.3 1.3.11-0ubuntu1 in maverick
(same version already has published
binaries in the destination archive)

I have no idea what this error means but apparently it doesn't mean there are binaries in the destination archive.

Best Answer

You get the error because the version wasn't bumped and the version is exactly the same. You're not supposed to have the same package with the same version in the same ppa. For releasing with multiple releases I normally either bump the minor version:

mypackage_1.2-0ubuntu1 < for lucid
mypackage_1.2-0ubuntu2 < for maverick

Or I actually name them per release.

mypackage_1.2-0lucid2

There is supposed to be a more formal, debian way of doing this, but I haven't found it.

Related Question