Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

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 92.7.

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.


Copyright © 1995-2018 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of the open source software Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.