diff --git a/cmake_targets/tools/build_helper b/cmake_targets/tools/build_helper index 4e8cfb7e68..3d7b3d74ff 100755 --- a/cmake_targets/tools/build_helper +++ b/cmake_targets/tools/build_helper @@ -324,9 +324,7 @@ check_install_usrp_uhd_driver(){ $SUDO apt-get remove libuhd3.15.0 -y || true local distribution=$(get_distribution_release) if [[ "$distribution" == "ubuntu18.04" || "$distribution" == "ubuntu20.04" || "$distribution" == "ubuntu22.04" ]]; then - $SUDO apt-get remove libuhd4.0.0 -y || true - $SUDO apt-get remove libuhd4.1.0 -y || true - $SUDO apt-get remove libuhd4.4.0 -y || true + $SUDO apt-get remove libuhd4.?.? -y || true fi v=$(lsb_release -cs) $SUDO apt-add-repository --remove "deb http://files.ettus.com/binaries/uhd/repo/uhd/ubuntu/$v $v main"