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

Re: debhelper upgrade makes lintian complain?



Hi Frank,

Frank Küster wrote:
> Now lintian complains: 
> W: netenv: prerm-does-not-remove-usr-doc-link
> W: netenv: postinst-does-not-set-usr-doc-link
> Formerly, the respective links where set by parts that dh_installdocs
> put into postinst and prerm.
The usr/doc transition is considered complete in sid/sarge, so this function was
removed from debhelper.

> Did I do something wrong, or is this due to the debhelper upgrade? Is
> this link now obsolete? And if the latter is true, do I need an upgraded
> lintian as well?
A 100% solution would be adding usr-doc-link by hand in your backport or enhance
the debhelper backport to do this. Backporting lintian (which will now complain
if you do set a usr/doc link (AFAIK)) isn't really doing anything to address the
problem, OTOH if you're not building packages for official Debian (which you are
not if you use a backported toolchain), you may just get by without the usr/doc
link, so a backported lintian might suit your needs.
In summary, it's a bit dependend on your goals: Do you want packages 100%
following stable policy or do you want packages following the current policy.
Except for official updates to stable I don't really see a lot of argument for
the former.

Cheers

T.

Attachment: pgpJomU2SlSKF.pgp
Description: PGP signature


Reply to: