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.
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.
3
Answers
Looks like a key had expired.
This Linux Mint Forum post mintUpdate NO_PUBKEY for Google Earth repository suggested running:
and that did cure the problem for me when running
apt update
again :)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 apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv-keys THE_MISSING_KEY_HERE
worked already 2 times for me
found it when I had no pub key etc