severity 476899 wishlist merge 476899 58735 Hi,
On Sat, 2008-04-19 at 22:44:18 -0400, Timothy G Abbott wrote: > Package: dpkg > Severity: normal > Tags: patch > > When a conffile (e.g. /etc/ldap/ldap.conf) is diverted, and one upgrades > the package containing the conffile, dpkg sometimes fails to copy the > .dpkg-new file onto the diverted conffile location. The cause is that it > uses the diverted location when unpacking files, but the non-diverted > location when comparing the user's and maintainer's changes. > > A transcript you can use to reproduce the problem is below (the version > of libldap2.deb being installed has had its conffile modified and version > bumped). > > While I realize that using dpkg-divert on conffiles is an uncommon > practice, the current behavior is clearly wrong. > > I've attached a simple git patch against current head that fixes this. Thanks for the patch! There's a problem with it though, namenodetouse has as a side effect to activate a file trigger. I'll probably be moving the side effect outside that function before applying this patch. regards, guillem -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]