EricssonResearch / cerbero

OpenWebRTC cerbero fork
GNU Lesser General Public License v2.1
19 stars 58 forks source link

Generated deb-packages with conflicting contents #62

Open StefanKarlsson987 opened 7 years ago

StefanKarlsson987 commented 7 years ago

I am working on a ubuntu 14.04, 64 bit machine (Dell latitude E74400)

I built openWebRTC using the instructions found here: https://github.com/EricssonResearch/openwebrtc/wiki/Building-OpenWebRTC

which results in the following packages:

openwebrtc_0.3.0-1_amd64.deb openwebrtc-base-system-1.0_1.9.2.1-1_amd64.deb openwebrtc-base-system-1.0-dbg_1.9.2.1-1_amd64.deb openwebrtc-base-system-1.0-dev_1.9.2.1-1_amd64.deb openwebrtc-dev_0.3.0-1_amd64.deb openwebrtc-gstreamer-1.0-core_1.9.2.1-1_amd64.deb openwebrtc-gstreamer-1.0-core-dbg_1.9.2.1-1_amd64.deb openwebrtc-gstreamer-1.0-core-dev_1.9.2.1-1_amd64.deb openwebrtc-openwebrtc-base_0.3.0-1_amd64.deb openwebrtc-openwebrtc-base-dbg_0.3.0-1_amd64.deb openwebrtc-openwebrtc-base-dev_0.3.0-1_amd64.deb

The first command I ran was:

sudo dpkg -i openwebrtc-0.3.0-1_amd64.deb

which generated error due to dependency of some of the other packages, I then tried to install the packages in a correct order, which eventually lead to errors from dpkg of the following kind:

"trying to overwrite '/opt/openwebrtc-0.3/lib/libusrsctp.so', which is also in package openwebrtc-openwebrtc-base 0.3.0-1"

I solved this issue with:

sudo dpkg -i --force-overwrite openwebrtc*.deb

however, this results in the dpkg removal/purge function being broken for these packages (so I have to delete files manually from '/opt/openwebrtc-0.3/lib/ when I want to un-install)