By running debuild, I find the following warnings:

# debuild 
debuild: warning:     debian/changelog(l1): badly formatted heading line
LINE: my_package (0.3-1) unstable; urgency=low

Where is my mistake?

Here is my debian/changelog

my_package (0.3-1) trusty; urgency=low

    * First release:

-- My Name  <[email protected]> Tue Oct 11 21:22:15 CEST 2016

1 Answer 1


It looks like this is due to the underscore in the package name itself (my_package). Debian package names can consist of only lower case letters (a-z), digits (0-9), plus (+) and minus (-) signs, and periods (.)

There is a really detailed blog post on blog.packagecloud.io that talks about package names and versions.


And another post on using debuild to build debian packages:



You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .