Bug#160848: dpkg: dpkg-divert --remove renames
Package: dpkg
Version: 1.10.4
Severity: normal
$ rm -f /root/a
$ dpkg-divert --add /root/a
Adding `local diversion of /root/a to /root/a.distrib'
$ > /root/a.distrib
$ dpkg-divert --remove /root/a
Removing `local diversion of /root/a to /root/a.distrib'
$ ls -l /root/a*
-rw-r--r-- 1 root root 0 Sep 14 15:54 a
The version in woody is also affected, but the potato version works
correctly.
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux gondolin 2.4.18-686-smp #1 SMP Sun Apr 14 12:07:19 EST 2002 i686 unknown unknown GNU/Linux
Versions of the packages dpkg depends on:
ii dselect 1.10.4 a user tool to manage Debian packages
ii libc6 2.2.5-6 GNU C Library: Shared libraries and Timezone
Reply to: