[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to suppress expected lintian warnings?



Ole Wolf <ole@naturloven.dk> writes:

> I'm getting some lintian warnings on one of my packages (at
> http://mentors.debian.net/package/nemid):
>
>   W: nemid: postinst-has-useless-call-to-ldconfig
>   W: nemid: postrm-has-useless-call-to-ldconfig

Lintian overrides are what you seek. Since you're using debhelper, see
dh_lintian(1).

>   The reason is quite evident: the nemid package doesn't include a library;
> instead, the postinst and postrm scripts download a library from an
> external web page and call ldconfig afterwards. Lintian obviously can't
> know that a library is being installed and removed, hence the warning.

Out of curiosity, why the need to download the lib? Couldn't it be
included in the "source" someway?

-- 
|8]


Reply to: