www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - dmd debian installation conflicts with debian-goodies

reply Ralph Amissah via Digitalmars-d <digitalmars-d puremagic.com> writes:
Installing dmd if debian-goodies is installed fails. Both try to write a file
named '/usr/bin/dman'

Debian Stretch is out, the freeze is over, perhaps now dmd will soon be
available as a package in Debian? Ldc2 does a great job but for testing
purposes and convenience it would be good to have the reference compiler.
Is there likely to be D related activity at DebCamp and DebConf 2017, Montreal?

* failed attempt to install dmd with debian-goodies installed

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)

* debian-goodies

information on debian-goodies (the package dmd conflicts with):

apt show debian-goodies
Package: debian-goodies
Version: 0.74
Priority: optional
Section: utils
Maintainer: Javier Fernández-Sanguino Peña <jfs debian.org>
Installed-Size: 199 kB
Depends: curl, dctrl-tools | grep-dctrl, perl, python3, whiptail | dialog
Recommends: lsof
Suggests: lsb-release, popularity-contest, xdg-utils, zenity
Conflicts: debget
Replaces: debget
Tag: implemented-in::python, interface::commandline, role::program,
 scope::utility, suite::debian, use::searching, works-with::bugs,
 works-with::software:package
Download-Size: 73.4 kB
APT-Manual-Installed: yes
APT-Sources: http://ftp.ch.debian.org/debian unstable/main amd64 Packages
Description: Small toolbox-style utilities for Debian systems
 These programs are designed to integrate with standard shell tools,
 extending them to operate on the Debian packaging system.
 .
  dgrep  - Search all files in specified packages for a regex
  dglob  - Generate a list of package names which match a pattern
 .
 These are also included, because they are useful and don't justify
 their own packages:
 .
  debget             - Fetch a .deb for a package in APT's database
  dpigs              - Show which installed packages occupy the most space
  debman             - Easily view man pages from a binary .deb without
                       extracting
  debmany            - Select manpages of installed or uninstalled packages
  dman               - Fetch manpages from online manpages.debian.org service
  checkrestart       - Help to find and restart processes which are using old
                       versions of upgraded files (such as libraries)
  popbugs            - Display a customized release-critical bug list based
                       on packages you use (using popularity-contest data)
  which-pkg-broke    - find which package might have broken another
  check-enhancements - find packages which enhance installed packages
Jun 28 2017
next sibling parent "Nick Sabalausky (Abscissa)" <SeeWebsiteToContactMe semitwist.com> writes:
On 06/28/2017 06:09 AM, Ralph Amissah via Digitalmars-d wrote:
 Installing dmd if debian-goodies is installed fails. Both try to write a file
 named '/usr/bin/dman'
 
 Debian Stretch is out, the freeze is over,
Which one is "stretch"?
Jun 28 2017
prev sibling next sibling parent Seb <seb wilzba.ch> writes:
On Wednesday, 28 June 2017 at 10:09:06 UTC, Ralph Amissah wrote:
 Installing dmd if debian-goodies is installed fails. Both try 
 to write a file named '/usr/bin/dman'

 Debian Stretch is out, the freeze is over, perhaps now dmd will 
 soon be
 available as a package in Debian? Ldc2 does a great job but for 
 testing
 purposes and convenience it would be good to have the reference 
 compiler.
 Is there likely to be D related activity at DebCamp and DebConf 
 2017, Montreal?
You probably want to join efforts and forces with Matthias Klump. http://forum.dlang.org/post/hhefnnighbowonxsnbdy forum.dlang.org Though due to missing contributors not much has been packaged: https://qa.debian.org/developer.php?login=pkg-d-devel%40lists.alioth.debian.org However, of course there are more D packages in Debian that are maintained by other groups, e.g. https://packages.debian.org/sid/libbiod-dev https://packages.debian.org/sid/gdc ...
Jun 28 2017
prev sibling parent Matthias Klumpp <mak debian.org> writes:
On Wednesday, 28 June 2017 at 10:09:06 UTC, Ralph Amissah wrote:
 Installing dmd if debian-goodies is installed fails. Both try 
 to write a file named '/usr/bin/dman'

 Debian Stretch is out, the freeze is over, perhaps now dmd will 
 soon be
 available as a package in Debian? Ldc2 does a great job but for 
 testing
 purposes and convenience it would be good to have the reference 
 compiler.
Long-term, we will likely be using GDC in Debian as default D compiler, if that becomes viable. That GDC is in GCC now is a very big deal, which makes maintaining D in Debian and any Linux distribution (which uses GCC as system compiler) much easier. Also, there is some company interest now, since it is expected that GCC/GDC will hit enterprise distributions such as RHEL as well, and thereby be widely available. That being said, I want DMD to be available in Debian, and LDC is doing a very good job at the moment and is serving as our de-facto default D compiler. Unfortunately now that the dman binary name is taken, DMD can't have it in Debian and that binary would have to be renamed, even if just temporarily in case we could convince the -goodies maintainer to change the name of the existing binary.
 Is there likely to be D related activity at DebCamp and DebConf 
 2017, Montreal?
Nothing is planned yet, but if there is interest in it, I would be happy to organize a BoF session there. Cheers, Matthias
Jun 29 2017