If you are completely new to Debian-based packaging then you will want to read this guide completely through, paying special attention to the section called “Prerequisites”, Chapter 2, Getting Started, and Chapter 3, Basic Packaging. People who are experienced with Debian-based packaging will find Chapter 6, Ubuntu Packaging and Chapter 7, Bugs most helpful.