Your repository settings are configuired to use ROS version 1 repositories. Those are no longer up to date and do not support Ubuntu versions later than 20.04 - Jammy is 22.04.
You need to update the configuration for your repositories and use the ROS2 repositories - which use http://packages.ros.org/ros2/ubuntu instead of http://packages.ros.org/ros/ubuntu, and use ROS 2 instead of ROS 1.
Your repository settings are configuired to use ROS version 1 repositories. Those are no longer up to date and do not support Ubuntu versions later than 20.04 - Jammy is 22.04.
You need to update the configuration for your repositories and use the ROS2 repositories - which use
http://packages.ros.org/ros2/ubuntu
instead ofhttp://packages.ros.org/ros/ubuntu
, and use ROS 2 instead of ROS 1.You may want to refer to the ROS repository documentation here as well - https://docs.ros.org/en/foxy/Installation/Ubuntu-Install-Debians.html - to make sure you have the repository set up properly.
(I will expand to include those details once I'm at a computer, I'm on my tablet right now on my commute home from work)