Re: duplicate-conffile error ???
Hi!
On Tue, Feb 25, 2003 at 09:31:10PM +0100, Sven Luther wrote:
> Hello, ...
>
> I am preparing a new version of one of my packages, and lintian claims
> that :
>
> $ lintian ocaml-base-3.06-1_3.06-16_i386.deb
> E: ocaml-base-3.06-1: duplicate-conffile /etc/ocaml/ld.conf
>
> And effectively, if i open the .deb, i see that /etc/ocaml/ld.conf is
> listed two times as conffile.
>
> Now, i have debian/ocaml-base-3.06-1.conffiles which contains only one
> copy of /etc/ocaml/ld.conf, not two, so i have no idea where this second
> copy does come from.
>
> I am using debhelper, and i guess one of the debhelpers is responsible
> for this. Does anyone have an idea of where this is coming from ?
That's because of dh_installdeb. According to the manpage:
In V3 compatability mode and higher, all files in the etc/ directory in
a package will automatically be flagged as conffiles by this program,
so there is no need to list them manually in package.conffiles.
So you should not list the files in /tmp in ocaml-base-3.06-1.conffiles;
your ocaml-base-3.06-1.conffiles should most probably be empty...
Regards,
Nicolas
Reply to: