Ubuntu tips — Fix error with security keys in apt update

Err:6 http://packages.ros.org/ros/ubuntu xenial InRelease    
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654
Fetched 4678 B in 2s (1830 B/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.ros.org/ros/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654
W: Failed to fetch http://packages.ros.org/ros/ubuntu/dists/xenial/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654
W: Some index files failed to download. They have been ignored, or old ones used instead.
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Number One Resource to Help You Pass AWS Exams

A building with Netflix sign in a city landscape.

What is Google Cloud? Here’s what you need to know

What is Google Cloud? Here’s what you need to know

NSA Kubernetes Hardening Guide: Audit Logging and Threat Detection Overview

💬Building the Unprecedented — Gari

How I Overcame my most recent learning challenge

Platformer: Box Push

Introduction to Container Technology

Work with integers as binary in C++

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Privalov Vladimir

Privalov Vladimir

More from Medium

FOSS and learning Linux CLI: An early experience and just how it all started!

SHELL PROJECT WITH HICHEM MAATOUG & ABDELKADER RADDADI

How to Build OpenSSL, zlib, and cURL Libraries on Linux

Linux Functions and Loops