The Filesystem Hierarchy Standard FHS

With 15 000 binary packages in the Debian pool at the time of writing, you may wonder how many conflicts had to be resolved between two packages each trying to install a file of the same name. Well, the answer is very few, which may be surprising were it not again for the policy to confine packages to use very specific locations for their files, rather than installing all over the place. Section 9.1.1 of the Debian policy specifies that all installed files and directories must comply with the...

The debhelper suite Overview

Unix is the operating system of scripts and automation. It is therefore unsurprising that most of the steps and functionality needed to create a binary Debian package have been further hidden behind more abstract and simpler interfaces. The most prominent of these interfaces is debhelper, which provides a plethora of small scripts to handle most aspects of packaging in an intuitive and consistent way. The tools are intended for use in the binary-* targets of debian rules. Most of the debhelper...

Debsigs and dpkgsig

While APT 0.6 uses index files to verify package integrity and is thus of little use when the indices are not available, two other tools use signatures attached to the DEB file for the integrity verification dpkg-sig and debsigs. debsigs in package debsigs was written shortly after the release of potato. In the mean time, another programme, dpkg-sig in package dpkg-sig was authored to deal with its shortcomings17. A package signature is similar to the digital signatures as used in e.g. emails,...