Ubuntu 22.04 Fix Broken Pipe on apt-get

apt-get -o DPkg::Options::="--force-overwrite" install <package name>

This will force an overwrite.