60.3 Building the Debian Package: First Time

Now you are ready to build and check the new package:

  $ dpkg-buildpackage -rfakeroot

This will ask for your GPG key secret pass phrase, twice. Did I tell you that you needed to create this first? See Section ??.

The appropriate package files are placed into the parent directory and are: wajig_2.0.20-1_i386.changes, wajig_2.0.20-1.dsc, wajig_2.0.20-1_all.deb, and wajig_2.0.20-1.diff.gz

Now check it all looks okay.

  $ cd .. 
  $ lintian -i wajig_2.0.20-1_i386.changes
  $ linda -i wajig_2.0.20-1_i386.changes

Typical errors'' can be fixed by removing the `debian/README.Debian` file if you have not changed it and leaving the*.ex’’ files in the debian directory (remove them). There are often suggestions as to how to fix the errors.



Your donation will support ongoing development and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.