61.12 Debian Updating From New Distribution

Suppose we have a new wajig-0.1.2.tar.gz and want to package this up. Ensure this tar file is in the root directory, cd into the old source directory, and ask Debian to update:

  $ cd wajig-0.1.1
  $ uupdate -u wajig-0.1.2.tar.gz

The updated source directory is ../wajig-0.1.2. We simply go there and build the Debian package and install it in our archive:

  $ cd ../wajig-0.1.2
  $ dpkg-buildpackage -rfakeroot
  $ cd .. 
  $ lintian -i wajig_0.1.2-1_i386.changes
  $ cp wajig_0.1.2* /var/www/debian/
  $ cd /var/www/debian/
  $ chmod go+r wajig_0.1.2*
  $ apt-ftparchive packages . > Packages
  $ apt-ftparchive sources  . > Sources
  $ gzip -c Packages > Packages.gz
  $ gzip -c Sources  > Sources.gz

Then install the new package with:

  $ apt-get update
  $ apt-get install wajig

Of course, if you are already using wajig this becomes:

  $ wajig update
  $ wajig install wajig


Your donation will support ongoing availability 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