Hi! On Fri, 2016-12-09 at 13:42:57 +0100, Philipp Hahn wrote: > Package: dpkg > Version: 1.17.27 > Followup-For: Bug #837051
> find attached a patch to fix the mentioned bug. > The patch still applied to master=1.18.8. > > To reproducte this: > tar xf 41965_dpkg-divert.tar.xz > cd bug41965.1 && dpkg-buildpackage -uc -us -b > cd bug41965.2 && dpkg-buildpackage -uc -us -b > dpkg -i bug41965-a_1_all.deb > dpkg-divert --local --rename --divert /etc/bug41965/compat.moved --add > /etc/bug41965/compat > dpkg -i bug41965-?_2_all.deb Great! Thanks for the reproducer and the patch. I'll integrate the test case into the dpkg-tests.git repo, and review and merge the patch for the next release. Thanks, Guillem

