Home > Software engineering >  NO_PUBKEY "4EB27DB2A3B88B8B" for Dart apt repo
NO_PUBKEY "4EB27DB2A3B88B8B" for Dart apt repo

Time:08-16

A while ago I installed the Dart SDK using apt-get, but I noticed recently that apt update was showing an error NO_PUBKEY "4EB27DB2A3B88B8B" and I was unable to update Dart.

CodePudding user response:

Since the use of apt-key is deprecated, except for the use of apt-key del in maintainer scripts to remove existing keys from the main keyring (according to the man page)

You can use the following:

sudo wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor - > /etc/apt/trusted.gpg.d/google-linux-key.gpg

CodePudding user response:

Looks like a key had expired.

This Linux Mint Forum post mintUpdate NO_PUBKEY for Google Earth repository suggested running:

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

and that did cure the problem for me when running apt update again :)

  • Related