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

Many packages built for Ubuntu seem to have a "-0ubuntu1" suffix (or, more generally, -XubuntuY). For example, the version string for a bleeeding-edge package from the nova project looks like:


I understand that 2011.2 is a major version, and bzr663 refers to revision 663 in the bzr repository, but what is the meaning associated with 0ubuntu1?

share|improve this question
up vote 16 down vote accepted

Packages are versioned in a pattern like <upstream version>-<debian revision>. In this case, the upstream version is 2011.2~bzr663 & the debian revision is 0ubuntu1.

Normally in Debian, the revisions are just numbers such, but for Ubuntu, the ubuntu1 following the revision indicates that there are source changes to that Debian revision. 0ubuntu1 is a special case, as it's used as a revision that indicates that it's not based on any Debian package of that upstream version (since there wouldn't be a debian revision 0).

This is common when the Ubuntu package has been upgraded to a new upstream version ahead of Debian.

share|improve this answer
Does -0ubuntu1 always mean there's no Debian-upstream version? I thought that if Debian hadn't altered their upstream source, it would just be -0 to them. – Oli Feb 15 '11 at 17:57
Debian revisions generally always start at 1 – ajmitch Feb 15 '11 at 18:12

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.