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

ROS noetic installation failed at sudo apt-get update

asked 2021-01-24 18:11:36 -0500

chalupabatmac gravatar image

updated 2021-01-27 06:51:17 -0500

mgruhler gravatar image

Hello,

I followed the installation process for ROS Noetic on Ubuntu.

1) I set up ROS Noetic repo:

echo "deb http://packages.ros.org/ros/ubuntu focal main" | sudo tee /etc/apt/sources.list.d/ros-focal.list

2) Add official ROS keyring:

sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1...

3) Update ROS package index

sudo apt update

OUTPUT:

sudo apt-get update

Err:1 http://package.ros.org/ros/ubuntu focal InRelease Could not resolve 'package.ros.org' Hit:2 http://ports.ubuntu.com/ubuntu-ports groovy InRelease Hit:3 http://ports.ubuntu.com/ubuntu-ports groovy-updates InRelease Hit:4 http://ports.ubuntu.com/ubuntu-ports groovy-backports InRelease Hit:5 http://ports.ubuntu.com/ubuntu-ports groovy-security InRelease Reading package lists... Done W: Failed to fetch http://package.ros.org/ros/ubuntu/dists/focal/InRelease Could not resolve 'package.ros.org' W: Some index files failed to download. They have been ignored, or old ones used instead.
edit retag flag offensive close merge delete

Comments

Which OS are you running this on? I guess this has been a connection issue. please confirm if this has been solved...

mgruhler gravatar image mgruhler  ( 2021-01-27 06:52:18 -0500 )edit

It looks like an internet connection problem, can you check if everything is right?

lucasalbini gravatar image lucasalbini  ( 2021-01-27 12:54:19 -0500 )edit

I have not had the chance to test out these suggestions since I haven't been able to get back to the lab. I will post an answer as soon as I am back. For now I am working from home using my own Raspberry Pi 3 B+, which am running into other issues with it.

chalupabatmac gravatar image chalupabatmac  ( 2021-02-07 12:53:05 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2021-01-27 12:14:45 -0500

sloretz gravatar image

updated 2021-01-27 14:04:27 -0500

Could not resolve 'package.ros.org'

Hmm the commands you pasted in the answer are ok, but this URL is wrong. It is supposed to be packages.ros.org with an S. Open /etc/apt/sources.list.d/ros-focal.list and double check that the URL there is correct.

edit flag offensive delete link more

Comments

2

typo: I think you meant packages.ros.org (not com)

chfritz gravatar image chfritz  ( 2021-01-27 13:54:04 -0500 )edit

Thanks, fixed typo

sloretz gravatar image sloretz  ( 2021-01-27 14:04:36 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2021-01-24 18:11:36 -0500

Seen: 5,555 times

Last updated: Feb 07 '21