title: Resources on writing a Debian/Ubuntu deb package?
body: <p>I'm getting started preparing an installation script for a software package onto an Ubuntu server.  I would like to write a script as a .deb package that is aware of dependencies that must be installed beforehand (a database, web server, etc.).   </p>
  
  <p>Can you recommend any tutorials/resources to help a newbie developer get started writing deb packages?</p>
  
  <p>Update: Canonical has a thorough <a href="https://wiki.ubuntu.com/PackagingGuide" rel="noreferrer">Packaging Guide</a> which explains the process very well.</p>