GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Updating the Debian Package |
Make changes to any of the debian files and increment the Debian release number (the number after the “-” in the version) using dch and regenerate the Debian packages:
$ dch -i $ dpkg-buildpackage -rfakeroot $ cd .. $ lintian -i wajig_0.1.2-2_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 |