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

gpg: keyserver receive failed: End of file

asked 2022-05-17 10:32:59 -0500

ros_user_ak gravatar image

updated 2022-05-17 11:51:41 -0500

Mike Scheutzow gravatar image

While installing ROS (step 1.3), found this issue as shown below

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 _________________
E: The repository 'http://packages.ros.org/ros/ubuntu focal InRelease' is not signed.

I tried the solution provided in this link. I deleted the old key, while adding new key (which is),

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

faced a new error.

gpg: keyserver receive failed: End of file

Any suitable solution for this issue ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-05-17 11:50:33 -0500

Mike Scheutzow gravatar image

The servers that apt-key uses are no longer available. See question #q387273 for the curl command that replaces it.

edit flag offensive delete link more

Comments

I tried the curl command provided in the above question and got an issue.

gpg: keyserver receive failed: End of file
W: The key(s) in the keyring /etc/apt/trusted.gpg.d/ros.gpg are ignored as the file has an unsupported filetype.

Any solution for this ?

ros_user_ak gravatar image ros_user_ak  ( 2022-05-19 02:23:16 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2022-05-17 10:32:59 -0500

Seen: 1,464 times

Last updated: May 17 '22