I don’t like IPv6 since all it does is cause issues, here is how to disable it for APT, you could do it system wide as well if you wanted

echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4

How to install stuff with apt, but exclude some items, all you need to do is add a - to the end of the package for example

apt install -t bullseye-backports cockpit cockpit-networkmanager-