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.

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:

2011.2~bzr663-0ubuntu1

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
add comment

1 Answer 1

up vote 14 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
add comment

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.