Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

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.

share|improve this answer
    
Yes, I do the "different names for different releases" thing too, but in this case I'm using the copy packages function and there is no existing natty packages at all. If copying into "this ppa" doesn't ever work, why is it an option? –  Scott Ritchie Jan 10 '11 at 3:06
    
It's a bug in launchpad that it either doesn't change the name/version or that it offers the option. The result is expected from dumb code and I bet the code was designed to move packages from one ppa to another, not from one release to another. –  Martin Owens -doctormo- Jan 10 '11 at 4:28
    
Upon investigation, you CAN copy packages provided you don't rebuild them. I think this is actually the same way the Ubuntu archive works -- packages that haven't changed version in 3 releases were actually built 3 releases ago and are binary-identical. Useful for forward-porting. –  Scott Ritchie Jan 10 '11 at 16:25

Some packages don't need to be rebuilt for different releases, e.g. documentation or python packages. Then choose "Copy existing binaries" option and the copy will succeed.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.