Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please move dub and dustmite to separate deb package #713

Open
dlangBugzillaToGithub opened this issue Jun 4, 2023 · 0 comments
Open

Please move dub and dustmite to separate deb package #713

dlangBugzillaToGithub opened this issue Jun 4, 2023 · 0 comments

Comments

@dlangBugzillaToGithub
Copy link

Witold Baryluk (@baryluk) reported this on 2023-06-04T12:40:57Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=23962

Description

dustmite and dub are packages already in Debian and Ubuntu, and I often have them installed together with gdc, ldc2.

When installing dmd deb from dlang website, they cause conflicts, requiring me to uninstall dustmite and dub first.

This is very annoying, and makes testing different versions difficult.

Would be better to split dub and dustmite into own packages, and make them recommend dmd (but not require!).

root@debian# dpkg -i dmd_2.104.0-0_amd64.deb 
Selecting previously unselected package dmd.
(Reading database ... 1451549 files and directories currently installed.)
Preparing to unpack dmd_2.104.0-0_amd64.deb ...
Unpacking dmd (2.104.0-0) ...
dpkg: error processing archive dmd_2.104.0-0_amd64.deb (--install):
 trying to overwrite '/usr/bin/dub', which is also in package dub 1.27.0-3
Errors were encountered while processing:
 dmd_2.104.0-0_amd64.deb
root@debian#


root@debian# apt purge dub
...
root@debian#


root@debian# dpkg -i dmd_2.104.0-0_amd64.deb 
(Reading database ... 1451516 files and directories currently installed.)
Preparing to unpack dmd_2.104.0-0_amd64.deb ...
Unpacking dmd (2.104.0-0) ...
dpkg: error processing archive dmd_2.104.0-0_amd64.deb (--install):
 trying to overwrite '/usr/bin/dustmite', which is also in package dustmite 0.0.430-2
Errors were encountered while processing:
 dmd_2.104.0-0_amd64.deb
root@debian#


root@debian# apt purge dustmite
...
root@debian#


root@debian# dpkg -i dmd_2.104.0-0_amd64.deb 
(Reading database ... 1451511 files and directories currently installed.)
Preparing to unpack dmd_2.104.0-0_amd64.deb ...
Unpacking dmd (2.104.0-0) ...
Setting up dmd (2.104.0-0) ...
Processing triggers for mate-menus (1.26.0-3) ...
Processing triggers for gnome-menus (3.36.0-1.1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for bamfdaemon (0.5.6+repack-1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for shared-mime-info (2.2-1) ...
root@debian#

Finally.

(No idea why so many triggeres are triggered)

As of rdmd and ddemangle I do not have opinions, as they do not cause issues (yet).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant