ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

The repository 'http://packages.ros.org/ros2/ubuntu kinetic Release' does not have a Release file.

asked 2023-04-29 13:33:45 -0500

Bishwajit gravatar image

updated 2023-04-30 07:53:22 -0500

Mike Scheutzow gravatar image

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
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-04-29 14:16:02 -0500

gvdhoorn gravatar image

updated 2023-04-29 14:19:13 -0500

I am trying to install ROS 2 in my Ubuntu 22.10

please take a look at REP 2000: ROS 2 Releases and Target Platforms.

Ubuntu Kinetic (or 22.10) is not directly supported by any ROS 2 release. See Humble and Rolling, or even the just about to be released Iron.

The most recent release of Ubuntu which gets binary packages (ie: those you install using apt) is Ubuntu Jammy (or 22.04).

That's the reason you see apt update print:

The repository 'http://packages.ros.org/ros2/ubuntu kinetic Release' does not have a Release file.

because there is no release file, as Ubuntu Kinetic is not supported.

You could try using the official Docker containers (ros, osrf/ros), or attempt a from-source build. Note that the latter may not succeed, as 22.10 is not supported, so you may run into build issues.

Alternatively, you could downgrade to Ubuntu Jammy, but we can't know whether that'd be possible for you.

PS: note that supported platforms / OS versions are also mentioned right at the start of the Humble installation tutorial.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2023-04-29 13:33:45 -0500

Seen: 2,684 times

Last updated: Apr 29 '23