On 2012-06-26 16:53, Raphaƫl Hertzog wrote: > Package: lintian > Version: 2.5.9 > Severity: normal > > When you use a dpkg-divert invocation like this one: > > dpkg-divert --rename --divert $file.original --add $file > > Lintian triggers an error package-uses-local-diversion. But this error is > wrong since those calls are in maintainer scripts and thus > DPKG_MAINTSCRIPT_PACKAGE is set. When --package and --local are both > missing, and when $DPKG_MAINTSCRIPT_PACKAGE is set, dpkg-divert assumes > --package $DPKG_MAINTSCRIPT_PACKAGE. > > This is the case since dpkg 1.16.0 (i.e. since wheezy's dpkg). > > [...] > > >
Actually, it sounds like it is a proper warning, since Squeeze (i.e. stable) still has 1.15.8.12. That means it could cause issues for people not upgrading dpkg before everything else (or for any package upgraded together with dpkg). ~Niels -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org