lcm-proj / lcm

Lightweight Communications and Marshalling
GNU Lesser General Public License v2.1
944 stars 385 forks source link

.deb package conflicts with libjchart2d-java 3.2.2 #451

Closed shayosler closed 1 year ago

shayosler commented 1 year ago

After building a .deb on Ubuntu 22.04 from the v1.5.0 release via

mkdir build
cd build
cmake ..
make package

installing it on a system that has libjchart2d-java installed produces the following error:

$ sudo dpkg -i lcm_1.5.0-1_amd64.deb 
(Reading database ... 126768 files and directories currently installed.)
Preparing to unpack lcm_1.5.0-1_amd64.deb ...
Unpacking lcm (1.5.0-1) ...
dpkg: error processing archive lcm_1.5.0-1_amd64.deb (--install):
 trying to overwrite '/usr/share/java/jchart2d-3.2.2.jar', which is also in package libjchart2d-java 3.2.2+dfsg2-3
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 lcm_1.5.0-1_amd64.deb

The same issue appears to also have been present in v1.4.0

ihilt commented 1 year ago

Closed by #452.