Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

  




 

 

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


Copyright © 1995-2006 [email protected]

 
 
  Published under the terms fo the GNU General Public License Design by Interspire