Ask Your Question

ROS noetic installation failed at sudo apt-get update

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

chalupabatmac gravatar image

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

mgruhler gravatar image


I followed the installation process for ROS Noetic on Ubuntu.

1) I set up ROS Noetic repo:

echo "deb focal main" | sudo tee /etc/apt/sources.list.d/ros-focal.list

2) Add official ROS keyring:

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

3) Update ROS package index

sudo apt update


sudo apt-get update

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


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 -0600 )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 -0600 )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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

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

sloretz gravatar image

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

Could not resolve ''

Hmm the commands you pasted in the answer are ok, but this URL is wrong. It is supposed to be 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



typo: I think you meant (not com)

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

Thanks, fixed typo

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



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

Seen: 1,671 times

Last updated: Feb 07