Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The launchpad's beta feature allows to create ubuntu packages using recipes. I got them to work, and I am now able to use them for packaging my project.

However, I have little trouble with the ./debian/changelog file. I need to fill it in with a distribution name ([package name] ([version]) [distribution]; [urgency]). Let's say I put "maverick" there. Then I request a build using the recipe. I choose to build it both for maverick and natty. As the result, the natty package in tha PPA will have it's "distribution" field set to "maverick", which looks invalid (actually, it seems only the changelog will have this incorrect information, but I got aware of that fact, when the notification e-mail I got stated my package was released for natty, but it also said: "Distribution: maverick").

It this OK? I am not even sure whether it is incorrect, but if it is, then how do I use the recipe, to build a package for many ubuntu series, using one changelog file?

share|improve this question
up vote 5 down vote accepted

In this context, the distribution field is irrelevant. Look in the official Ubuntu archives. Of course, you'll see that the top changelog entry will have "unstable" as the distribution for many packages. Likewise, all uploads that make it into the updates repository are actually copied over from the proposed repository. So a package in maverick-updates will actually say maverick-proposed in the changelog.

The importance of the distribution field depends on the tools that make use of it. For instance, if you use dput to upload to your PPA with: ~<your_launchpad_id>/<ppa_name>/ubuntu/ the distribution field in the changelog determines for which release the package will be built. But even this can be over-ridden by uploading directly to release you want with:


Launchpad's build from branch service uses the ability to copy a package from one PPA series to another. It doesn't actually care what is in the changelog for this. So the way you are currently doing things is correct.

share|improve this answer
Could you please make this answer more explicit and perhaps give an actual example? Specifically, I usually upload the *.changes file to a PPA using dput ppa:landronimirc/experimental "gigolo_0.4.2-1~precise~ppa1_source.changes". If I do as you suggest dput ~landronimirc/experimental/ubuntu "gigolo_0.4.2-1~precise~ppa1_source.changes", then I get a No host ~landronimirc/experimental/ubuntu found in config error. So in this sense I'm not sure I understand your answer. – landroni Jan 12 '14 at 14:07

Your Answer


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.