The repository 'http://packages.ros.org/ros2/ubuntu kinetic Release' does not have a Release file.
Hello everyone,
I am trying to install ROS 2 in my Ubuntu 22.10. But I am facing trouble during installation. Could anyone help me out with that? I have shared here the detailed info. Any help will be appreciated.
The version of ubuntu:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.10
Release: 22.10
Codename: kinetic
Where I found error is provided as followed. I went through step by step and only here providing the error and skipping a long line of infos that are running behind the commands. If any more info is needed then feel free to ask and I am happy to share with you.
$ sudo apt update && sudo apt install locales
Err:12 http://packages.ros.org/ros2/ubuntu kinetic Release
404 Not Found [IP: 64.50.236.52 80]
Reading package lists... Done
E: The repository 'http://packages.ros.org/ros2/ubuntu kinetic Release' does not have a Release file.
$ sudo add-apt-repository universe
Ign:12 http://packages.ros.org/ros2/ubuntu kinetic InRelease
Err:13 http://packages.ros.org/ros2/ubuntu kinetic Release
404 Not Found [IP: 64.50.233.100 80]
$ sudo apt update && sudo apt install curl -y
Err:12 http://packages.ros.org/ros2/ubuntu kinetic Release
404 Not Found [IP: 64.50.236.52 80]
Reading package lists... Done
W: http://repo.mysql.com/apt/ubuntu/dists/kinetic/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg),
see the DEPRECATION section in apt-key(8) for details.
E: The repository 'http://packages.ros.org/ros2/ubuntu kinetic Release' does not have a Release file.
$ sudo apt update
Ign:11 http://packages.ros.org/ros2/ubuntu kinetic InRelease
Err:12 http://packages.ros.org/ros2/ubuntu kinetic Release
404 Not Found [IP: 140.211.166.134 80]
Reading package lists... Done
W: http://repo.mysql.com/apt/ubuntu/dists/kinetic/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg),
see the DEPRECATION section in apt-key(8) for details.
E: The repository 'http://packages.ros.org/ros2/ubuntu kinetic Release' does not have a Release file.
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libnautilus-extension4 libnss-systemd libpam-systemd libsystemd-shared
libsystemd0 libudev1 nautilus nautilus-data systemd systemd-oomd
systemd-resolved systemd-sysv systemd-timesyncd udev
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
$ sudo apt install ros-humble-desktop
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ros-humble-desktop
$ sudo apt install ros-humble-ros-base
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ros-humble-ros-base
$ sudo apt install ros-dev-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ros-dev-tools
$ source /opt/ros/humble/setup.bash
bash: /opt/ros/humble/setup.bash: No such file or directory