Thread overview
[Issue 5047] New: DMD 2.049 Deb Fails to install on Ubuntu 10.10
Oct 13, 2010
Mike Chaten
Oct 31, 2010
Iain Buclaw
Apr 28, 2012
Walter Bright
October 13, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5047

           Summary: DMD 2.049 Deb Fails to install on Ubuntu 10.10
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: installer
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: mchaten@gmail.com


--- Comment #0 from Mike Chaten <mchaten@gmail.com> 2010-10-12 19:01:21 PDT ---
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:

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 31, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5047


Iain Buclaw <ibuclaw@ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@ubuntu.com


--- Comment #1 from Iain Buclaw <ibuclaw@ubuntu.com> 2010-10-30 20:41:07 PDT ---
(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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 28, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5047


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2012-04-28 01:24:27 PDT ---
shell has been removed from the Linux version of dmd for some time now.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------