Skip to content

dpkg: error processing archive error when building oai

problem description: received "dpkg: error processing archive error" when building OAI UE/GNB.

OS: Ubuntu 20.04.5 LTS

commands used:

source oaienv
cd cmake_targets/
./build_oai -I -w USRP --nrUE --gNB

error details:

dpkg: error processing archive /tmp/apt-dpkg-install-u3tFvD/5-libuhd4.2.0_4.2.0.1-0ubuntu1~focal1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/uhd/cal/cal_metadata.fbs', which is also in package libuhd4.3.0:amd64 4.3.0.0-0ubuntu1~focal1

any idea what could be the problem?

attached is the build logs.logs.txt

Edited by Robert Schmidt