Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to find what is the syntax of conffiles.

I'm creating several packages using a single rules file and if I put the configuration files into conffiles I get an error when building the packages (since the files are only present in two of the 9 packages).

share|improve this question
up vote 2 down vote accepted

Using debhelper, you can name the conffile file after the package name, just like with the install files. An example file name would be "mypackage.conffiles". With debhelper, any file that does not follow the "maypackage.myfile" format applies to all binary packages from the source.

The conffiles file is described in the dh_installdeb manpage.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.