Bug 17569 – Rename dman in the Debian .deb package to prevent conflict with Debian package debian-goodies
Status
RESOLVED
Resolution
MOVED
Severity
major
Priority
P1
Component
tools
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-06-28T17:49:19Z
Last change time
2020-06-05T11:06:27Z
Assigned to
No Owner
Creator
hsteoh
Comments
Comment #0 by hsteoh — 2017-06-28T17:49:19Z
This was reported on the forum:
------------
Installing dmd if debian-goodies is installed fails. Both try to write a file
named '/usr/bin/dman'
[...snip...]
sudo dpkg -i dmd_2.074.1-0_amd64.1.deb
(Reading database ... 224610 files and directories currently installed.)
Preparing to unpack dmd_2.074.1-0_amd64.1.deb ...
Unpacking dmd (2.074.1-0) ...
dpkg: error processing archive dmd_2.074.1-0_amd64.1.deb (--install):
trying to overwrite '/usr/bin/dman', which is also in package debian-goodies 0.74
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
sudo dpkg -i dmd_2.075.0~b1-0_amd64.deb
(Reading database ... 224610 files and directories currently installed.)
Preparing to unpack dmd_2.075.0~b1-0_amd64.deb ...
Unpacking dmd (2.075.0~b1-0) ...
dpkg: error processing archive dmd_2.075.0~b1-0_amd64.deb (--install):
trying to overwrite '/usr/bin/dman', which is also in package debian-goodies 0.74
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
------------
The package debian-goodies also ships a binary named `dman`, with this description:
-------------
dman - Fetch manpages from online manpages.debian.org service
-------------
Since this is something shipped with Debian itself, I recommend either (1) renaming our dman utility to something less ambiguous, or (2) excluding it from the .deb package for dmd altogether.
And on that note, just in case, I highly recommend *against* putting a Conflicts: line in the debian/control file, because there is no good reason why the debian-goodies package should be excluded by the dmd package. If anything, we should be the ones to give up the dman utility (I have never found a need for it, and I question whether anyone actually uses it besides the D developers).
I'm marking this as a major bug, because the conflict means that any Debian user who wants to try out D for the first time may get immediately turned away by the installation failure due to some silly marginal utility being unfortunately named, just because he happens to have the debian-goodies package installed.