D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 5047 - DMD 2.049 Deb Fails to install on Ubuntu 10.10
Summary: DMD 2.049 Deb Fails to install on Ubuntu 10.10
Status: RESOLVED WORKSFORME
Alias: None
Product: D
Classification: Unclassified
Component: installer (show other issues)
Version: D2
Hardware: x86 Linux
: P2 critical
Assignee: Walter Bright
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 19:01 UTC by Mike Chaten
Modified: 2012-04-28 01:24 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Mike Chaten 2010-10-12 19:01:21 UTC
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 Iain Buclaw 2010-10-30 20:41:07 UTC
(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 Walter Bright 2012-04-28 01:24:27 UTC
shell has been removed from the Linux version of dmd for some time now.