Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2502  / 3 Years ago, mon, november 1, 2021, 9:27:01

Help Please! I am in the process of establishing my OneDrive connection to my Ubuntu 20.04.2 server. After installing the dependencies, I then attempted to unpack and run a binary file using the following command:


sudo dpkg -i dmd_2.093.1-0_amd64.deb

I received the following output:


    (Reading database ... 150962 files and directories currently installed.)
Preparing to unpack dmd_2.093.1-0_amd64.deb ...
Unpacking dmd (2.093.1-0) ...
dpkg: error processing archive dmd_2.093.1-0_amd64.deb (--install):
trying to overwrite '/usr/bin/dub', which is also in package dub 1.26.0-0
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Processing triggers for shared-mime-info (1.15-1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Errors were encountered while processing:
dmd_2.093.1-0_amd64.deb

What can I do to eliminate the install errors? What have I missed?


More From » 20.04

 Answers
5

You previously installed the dub 1.26.0-0 package, which contained /usr/bin/dub. How?


Your attempt to install dmd from the .deb file also contained /usr/bin/dub (same? different?), so dpkg didn't overwrite the original /usr/bin/dub.


Read the error message.


Uninstall dub and try again.


Rather than downloading .deb files from unofficial sources, I suggest that you use Ubuntu packages. Read man apt apt-get apt-cache synaptic.


[#1329] Wednesday, November 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oleard

Total Points: 344
Total Questions: 105
Total Answers: 113

Location: Bonaire
Member since Tue, Sep 20, 2022
2 Years ago
oleard questions
Mon, Sep 26, 22, 18:21, 2 Years ago
Sat, May 7, 22, 20:47, 2 Years ago
Sun, Oct 2, 22, 01:10, 2 Years ago
Sun, Jul 24, 22, 18:15, 2 Years ago
;