I am trying to install Texmaker 4.1 on 32-bit Ubuntu 12.04 LTS. I downloaded the file from the official site and I am trying to install by using the following command:
sudo dpkg -i texmaker_ubuntu_12.04_4.1_i386.deb
However, this results in an error of whose origin I am unable to pinpoint. The error message is as follows:
$ sudo dpkg -i texmaker_ubuntu_12.04_4.1_i386.deb
Selecting previously unselected package texmaker.
(Reading database ... 617874 files and directories currently installed.)
Unpacking texmaker (from texmaker_ubuntu_12.04_4.1_i386.deb) ...
dpkg: error processing texmaker_ubuntu_12.04_4.1_i386.deb (--install):
trying to overwrite '/usr/share/texmaker/doc14hu.png', which is also in package texmaker-data 3.4-1~ubuntu12.04.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
texmaker_ubuntu_12.04_4.1_i386.deb
What can I do to remedy the situation? Any help and advice is greatly appreciated.
Best Answer
I've run into the same problem on Ubuntu 12.04.5 LTS 64-bit, Texmaker 4.3:
I forced the over write as follows...
sudo dpkg --install --force-overwrite texmaker_ubuntu_12.04_4.3_amd64.deb