I am trying to build USRP module on Ubuntu below are system details
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
6.8.0-50-generic #51~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 21 12:03:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
I am seeing the below error
Unpacking libuhd4.5.0:amd64 (4.5.0.0-0ubuntu1~jammy1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-Rw5aWM/6-libuhd4.5.0_4.5.0.0-0ubuntu1~jammy1_amd64.deb (--unpack):
trying to overwrite '/usr/share/uhd/cal/cal_metadata.fbs', which is also in package libuhd4.7.0:amd64 4.7.0.0-0ubuntu1~jammy1
Selecting previously unselected package uhd-host.
Preparing to unpack .../7-uhd-host_4.7.0.0-0ubuntu1~jammy1_amd64.deb ...
Unpacking uhd-host (4.7.0.0-0ubuntu1~jammy1) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-Rw5aWM/6-libuhd4.5.0_4.5.0.0-0ubuntu1~jammy1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Unpacking libuhd4.5.0:amd64 (4.5.0.0-0ubuntu1~jammy1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-Rw5aWM/6-libuhd4.5.0_4.5.0.0-0ubuntu1~jammy1_amd64.deb (--unpack):
trying to overwrite '/usr/share/uhd/cal/cal_metadata.fbs', which is also in package libuhd4.7.0:amd64 4.7.0.0-0ubuntu1~jammy1
Selecting previously unselected package uhd-host.
Preparing to unpack .../7-uhd-host_4.7.0.0-0ubuntu1~jammy1_amd64.deb ...
Unpacking uhd-host (4.7.0.0-0ubuntu1~jammy1) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-Rw5aWM/6-libuhd4.5.0_4.5.0.0-0ubuntu1~jammy1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can you please help on this.
Log file is attached