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

The repository does not have a Release file.

asked 2022-06-10 05:30:35 -0500

lennarn gravatar image

Installing Humble Hawksbill on Ubuntu Jammy 22.04 in virtualbox. Following instructions from http://docs.ros.org/en/humble/Install...

    lennart@ml-dev:~$ sudo apt update && sudo apt install -y \
  build-essential \
  cmake \
  git \
  python3-colcon-common-extensions \
  python3-flake8 \
  python3-flake8-blind-except \
  python3-flake8-builtins \
  python3-flake8-class-newline \
  python3-flake8-comprehensions \
  python3-flake8-deprecated \
  python3-flake8-docstrings \
  python3-flake8-import-order \
  python3-flake8-quotes \
  python3-pip \
  python3-pytest \
  python3-pytest-cov \
  python3-pytest-repeat \
  python3-pytest-rerunfailures \
  python3-rosdep \
  python3-setuptools \
  python3-vcstool \
  wget


   Hit:1 http://no.archive.ubuntu.com/ubuntu jammy InRelease
    Get:2 http://no.archive.ubuntu.com/ubuntu jammy-updates InRelease [109 kB]
    Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]     
    Get:4 http://no.archive.ubuntu.com/ubuntu jammy-backports InRelease [99,8 kB] 
    Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [11,4 kB]
    Ign:6 http://packages.ros.org/ros/ubuntu jammy InRelease                      
    Hit:7 http://packages.ros.org/ros2/ubuntu jammy InRelease
    Err:8 http://packages.ros.org/ros/ubuntu jammy Release
      404  Not Found [IP: 64.50.236.52 80]
    Reading package lists... Done
    E: The repository 'http://packages.ros.org/ros/ubuntu jammy Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-06-10 13:57:17 -0500

gvdhoorn gravatar image
   Err:8 http://packages.ros.org/ros/ubuntu jammy Release

you appear to have the ROS 1 package repository configured on your Ubuntu Jammy system.

ROS 1 does not support Ubuntu Jammy, hence there is no "release file" there for apt to download.

You'll have to either:

  1. remove the line which says something like deb http://packages.ros.org/ros/ubuntu jammy main from /etc/apt/sources.list, or
  2. remove the .list file from /etc/apt/sources.list.d (note the .d there) which contains that line

then try again.

edit flag offensive delete link more

Comments

1

Such line, as mentioned in 1, doesn't exist there, but 2 worked for me. The file name was ros-latest.list.

wenchao gravatar image wenchao  ( 2023-04-15 07:29:08 -0500 )edit

how you solve this ? i can't delete the .list !!!

bak gravatar image bak  ( 2023-05-08 08:00:00 -0500 )edit
1

You'll probably have to remove it using sudo rm, as /etc/apt/sources.list.d is only writable by root (or users with root-level access).

gvdhoorn gravatar image gvdhoorn  ( 2023-05-08 10:21:54 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2022-06-10 05:29:16 -0500

Seen: 28,742 times

Last updated: Jun 10 '22