Subject: Bug#3894: dpkg -L bug showing diversions

From: Yves Arrouye <[email-masked]>
Date: Tue, 23 Jul 1996 23:38:53 +0200

Package: dpkg
Version: 1.2.12elf

When files of a package are diverted, dpkg -L lists files as diverted by
the package owning them first instead of by the package which did the
diversion. An example follows.

Yves.

marin4% dpkg-divert --list
diversion of /usr/X11R6/bin/xterm to /usr/X11R6/bin/xterm.mono by xterm-color
diversion of /usr/bin/zmore to /usr/bin/gzmore by compress
diversion of /usr/bin/zcmp to /usr/bin/gzcmp by compress
diversion of /usr/bin/zdiff to /usr/bin/gzdiff by compress
diversion of /usr/man/man1/zcat.1 to /usr/man/man1/gzcat.1 by compress
diversion of /usr/man/man1/zmore.1 to /usr/man/man1/gzmore.1 by compress
diversion of /usr/man/man1/zcmp.1 to /usr/man/man1/gzcmp.1 by compress
diversion of /usr/man/man1/zdiff.1 to /usr/man/man1/gzdiff.1 by compress
marin5% dpkg -L gzip
/.
/bin
/bin/gzip
/bin/gunzip
/bin/zcat
/bin/compress/bin/uncompress
/usr
/usr/bin
/usr/bin/zdiff
diverted by gzip to: /usr/bin/gzdiff
/usr/bin/zgrep
/usr/bin/zless
/usr/bin/zmore
diverted by gzip to: /usr/bin/gzmore
/usr/bin/znew
/usr/bin/zforce
/usr/bin/gzexe
/usr/bin/zcmp
diverted by gzip to: /usr/bin/gzcmp
/usr/info
/usr/info/gzip.info.gz
/usr/lib
/usr/man
/usr/man/man1
/usr/man/man1/gzip.1
/usr/man/man1/gzexe.1
/usr/man/man1/zdiff.1
diverted by gzip to: /usr/man/man1/gzdiff.1
/usr/man/man1/zgrep.1
/usr/man/man1/zless.1
/usr/man/man1/zmore.1
diverted by gzip to: /usr/man/man1/gzmore.1
/usr/man/man1/znew.1
/usr/man/man1/zforce.1
/usr/man/man1/zcat.1
diverted by gzip to: /usr/man/man1/gzcat.1
/usr/man/man1/zcmp.1
diverted by gzip to: /usr/man/man1/gzcmp.1
/usr/man/man1/gunzip.1
/usr/doc
/usr/doc/copyright
/usr/doc/copyright/gzip