--- scripts/dpkg-divert.pl.orig 2007-06-17 21:22:04.000000000 +0000 +++ scripts/dpkg-divert.pl 2007-06-17 21:31:19.000000000 +0000 @@ -223,7 +223,7 @@ sub infol { return (($_[2] eq ':' ? "local " : length($_[2]) ? "" : "any "). "diversion of $_[0]". - (length($_[1]) ? " to $_[1]" : ""). + (defined $_[1] && length($_[1]) ? " to $_[1]" : ""). (length($_[2]) && $_[2] ne ':' ? " by $_[2]" : "")); }