to be able to install ros2, need python3=3.10.6-1~22.04 but system wide python is 3.10.12
sudo apt install python3=3.10.6-1~22.04
The following packages have unmet dependencies:python3 : PreDepends: python3-minimal (= 3.10.6-1~22.04) but 3.10.6-1~22.04.1 is to be installedDepends: libpython3-stdlib (= 3.10.6-1~22.04) but 3.10.6-1~22.04.1 is to be installedE: Unable to correct problems, you have held broken packages.