skip to Main Content

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


  1. Chosen as BEST ANSWER

    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 :)


  2. 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:

    wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub |
        gpg --dearmor - |
        sudo tee /etc/apt/trusted.gpg.d/google-linux-key.gpg >/dev/null
    
    Login or Signup to reply.
  3. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search