On Mon, Dec 21, 2009 at 05:17:46PM +0100, Guus Sliepen wrote:
> On Mon, Dec 21, 2009 at 01:23:31AM +0000, Roger Leigh wrote:
> 
> > As the script below shows, I was prompted by dpkg for if I wished
> > to replace /etc/network/if-pre-up.d/wireless-tools and
> > /etc/network/if-post-down.d/wireless-tools with a new version.
> > However... the "old" files had never been edited, and were
> > (according to the diff) completely empty.  It looks like they
> > might have been touched in the maintainer script at some point?
> 
> Did you upgrade from an older 30~pre9 version or from 29? In 30~pre9-1 and -2,
> config files may have been moved incorrectly. There's not much I can do about
> that though...

It looks like it was from 30~pre9-2 to 30~pre9-3, from dpkg.log:

2009-12-21 01:13:55 upgrade wireless-tools 30~pre9-2 30~pre9-3

As for not doing anything about it, if it's not going to affect
lenny->squeeze upgrades, then that's perfectly OK.  It should,
however, be perfectly possible to correct the move using a
version check in the preinst/postinst on upgrades, completely
safely.

(the schroot package has the appropriate shell functions in its
preinst and postinst if you want them, though it's not currently
using the postinst to move conffiles.)


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature

Reply via email to