Bug 5047 – DMD 2.049 Deb Fails to install on Ubuntu 10.10
Status
RESOLVED
Resolution
WORKSFORME
Severity
critical
Priority
P2
Component
installer
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2010-10-12T19:01:00Z
Last change time
2012-04-28T01:24:27Z
Assigned to
bugzilla
Creator
mchaten
Comments
Comment #0 by mchaten — 2010-10-12T19:01:21Z
Ubuntu 10.10 was just released, it seems they have a package that conflicts with dmd 2.049 which is installed by default. This package has the file /usr/bin/shell which dmd also has.
Log:
sudo dpkg -i dmd_2.049-0_i386.deb
(Reading database ... 121289 files and directories currently installed.)
Unpacking dmd (from dmd_2.049-0_i386.deb) ...
dpkg: error processing dmd_2.049-0_i386.deb (--install):
trying to overwrite '/usr/bin/shell', which is also in package byobu 3.5-0ubuntu1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
Comment #1 by ibuclaw — 2010-10-30T20:41:07Z
(In reply to comment #0)
> Ubuntu 10.10 was just released, it seems they have a package that conflicts
> with dmd 2.049 which is installed by default. This package has the file
> /usr/bin/shell which dmd also has.
>
> Log:
> sudo dpkg -i dmd_2.049-0_i386.deb
> (Reading database ... 121289 files and directories currently installed.)
> Unpacking dmd (from dmd_2.049-0_i386.deb) ...
> dpkg: error processing dmd_2.049-0_i386.deb (--install):
> trying to overwrite '/usr/bin/shell', which is also in package byobu
> 3.5-0ubuntu1
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Errors were encountered while processing:
I think the real question is, does shell *need* to be included in the dmd package? My initial thoughts say no. But nonetheless you tend to run into these sorts of conflicts when you install 3rd party software.
To give you the quick command, you can divert byobu's file using:
sudo dpkg-divert --local --package byobu --rename --add /usr/bin/shell
That will divert '/usr/bin/shell' to '/usr/bin/shell.distrib' for the byobu package.
You should be able to install DMD now...
Regards
Comment #2 by bugzilla — 2012-04-28T01:24:27Z
shell has been removed from the Linux version of dmd for some time now.