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

Noetic won't install

asked 2021-07-24 13:04:32 -0600

updated 2021-07-24 21:26:34 -0600

jayess gravatar image

Ubuntu 20.04, New install

 rodolfo@rodolfo-HP-Pavilion-Laptop-15-eh0xxx:~$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
[sudo] password for rodolfo: 
rodolfo@rodolfo-HP-Pavilion-Laptop-15-eh0xxx:~$ sudo apt install curl # if you haven't already installed curl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra gstreamer1.0-vaapi
  libgstreamer-plugins-bad1.0-0 libva-wayland2
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  curl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 161 kB of archives.
After this operation, 411 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 curl amd64 7.68.0-1ubuntu2.6 [161 kB]
Fetched 161 kB in 1s (290 kB/s)
Selecting previously unselected package curl.
(Reading database ... 183708 files and directories currently installed.)
Preparing to unpack .../curl_7.68.0-1ubuntu2.6_amd64.deb ...
Unpacking curl (7.68.0-1ubuntu2.6) ...
Setting up curl (7.68.0-1ubuntu2.6) ...
Processing triggers for man-db (2.9.1-1) ...
rodolfo@rodolfo-HP-Pavilion-Laptop-15-eh0xxx:~$ sudo apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://packages.ros.org/ros/ubuntu focal InRelease [4,676 B]             
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease               
Hit:4 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease   
Hit:5 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Err:2 http://packages.ros.org/ros/ubuntu focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654
Reading package lists... Done
W: GPG error: http://packages.ros.org/ros/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654
E: The repository 'http://packages.ros.org/ros/ubuntu focal InRelease' is not signed.
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.
rodolfo@rodolfo-HP-Pavilion-Laptop-15-eh0xxx:~$ sudo apt install ros-noetic-desktop-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-noetic-desktop-full
edit retag flag offensive close merge delete

Comments

We're going to need more information from you (e.g., what version of Ubuntu are you using) in order to help

jayess gravatar image jayess  ( 2021-07-24 17:15:13 -0600 )edit

Ubuntu 20.04, New install.

Rodolfo8 gravatar image Rodolfo8  ( 2021-07-24 21:08:06 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-07-24 18:21:23 -0600

Ktysai gravatar image

You are using this tutorial? http://wiki.ros.org/noetic/Installati...

I think you've skipped the 1.3 step:

sudo apt install curl # if you haven't already installed curl

curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -

Redo the Noetic install from the tutorial.

Succes!

edit flag offensive delete link more

Comments

The 13th line above has this: Unpacking curl (7.68.0-1ubuntu2.6) ... Setting up curl (7.68.0-1ubuntu2.6)

Rodolfo8 gravatar image Rodolfo8  ( 2021-07-24 21:12:59 -0600 )edit

Yes, that is the wiki page I followed. No keys are listed. Should they be listed?

Rodolfo8 gravatar image Rodolfo8  ( 2021-07-24 21:14:46 -0600 )edit

Try again the tutorial. If necessary the key can be inserted there are tutorials for it. My assumption is that there was a server problem and some mistype command.

Ktysai gravatar image Ktysai  ( 2021-07-25 07:38:44 -0600 )edit

@Rodolfo8 if you run the command apt-key list, you will see this entry after you successfully install the signing key:

pub   rsa4096 2019-05-30 [SC] [expires: 2025-06-01]
      C1CF 6E31 E6BA DE88 68B1  72B4 F42E D6FB AB17 C654
uid           [ unknown] Open Robotics <info@osrfoundation.org>

You noticed the dash after the "apt-key add", right?

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-07-25 08:55:57 -0600 )edit

Yes, it worked fine today! Thank you

Rodolfo8 gravatar image Rodolfo8  ( 2021-07-25 23:09:12 -0600 )edit

Worked for me, Thank you!

IrishPotatoe gravatar image IrishPotatoe  ( 2022-09-03 15:14:51 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2021-07-24 13:04:32 -0600

Seen: 4,054 times

Last updated: Jul 24 '21