package dub (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/dub', which is also in package dmd 2.074.1-0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dub (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 17.04
Release: 17.04
dub:
Installed: (none)
Candidate: 1.2.0-1ubuntu1
Version table:
1.2.0-1ubuntu1 500
500 http://
I was installing DCD for Vim, so that i can write source code for D in Vim
Nothing seemed to happen.
ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: dub (not installed)
ProcVersionSign
Uname: Linux 4.10.0-24-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.1
AptOrdering:
dub:amd64: Install
NULL: ConfigurePending
Architecture: amd64
Date: Mon Jun 26 22:22:42 2017
DpkgTerminalLog:
Preparing to unpack .../dub_
Unpacking dub (1.2.0-1ubuntu1) ...
[1mdpkg:[0m error processing archive /var/cache/
trying to overwrite '/usr/bin/dub', which is also in package dmd 2.074.1-0
ErrorMessage: trying to overwrite '/usr/bin/dub', which is also in package dmd 2.074.1-0
InstallationDate: Installed on 2017-06-19 (6 days ago)
InstallationMedia: Ubuntu-Budgie 17.04 "Zesty Zapus" - Beta amd64 (20170404)
RelatedPackageV
dpkg 1.18.10ubuntu2
apt 1.4
SourcePackage: dub
Title: package dub (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/dub', which is also in package dmd 2.074.1-0
UpgradeStatus: No upgrade log present (probably fresh install)
Thanks for taking your time to report this issue and help making Ubunt better.
The underlying issue for this bug seems to be that two packages both include the file '/usr/bin/dub'. This is usually fixed by removing duplicates (if both packages contain the exact same file) or by marking them as conflicting so that they cannot be installed on the same system if both packages try to install unrelated files with the same name.
I tried to also mark dmd as affected by this issue, but I couldn't find it in Launchpad? Is that package from the Ubuntu archive, or installed from some third-party service?