Robotics StackExchange | Archived questions

Noetic won't install

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

Asked by Rodolfo8 on 2021-07-24 13:04:32 UTC

Comments

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

Asked by jayess on 2021-07-24 17:15:13 UTC

Ubuntu 20.04, New install.

Asked by Rodolfo8 on 2021-07-24 21:08:06 UTC

Answers

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

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!

Asked by Ktysai on 2021-07-24 18:21:23 UTC

Comments

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

Asked by Rodolfo8 on 2021-07-24 21:12:59 UTC

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

Asked by Rodolfo8 on 2021-07-24 21:14:46 UTC

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.

Asked by Ktysai on 2021-07-25 07:38:44 UTC

@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?

Asked by Mike Scheutzow on 2021-07-25 08:55:57 UTC

Yes, it worked fine today! Thank you

Asked by Rodolfo8 on 2021-07-25 23:09:12 UTC

Worked for me, Thank you!

Asked by IrishPotatoe on 2022-09-03 15:14:51 UTC