114

When I run the command:

sudo apt-get update

I got this following warning:

There is no public key available for the following key IDs: 1397BC53640DB551

This is the only warning I got and I do not get any Error.

How I can fix it and what the key 1397BC53640DB551 is all about?

3
  • 1
    For reviewers: There are already 2 votes on askubuntu.com/questions/766205/… being a duplicate of this one. Let's not create a loop!
    – guntbert
    Commented May 5, 2016 at 18:40
  • Can you please include the full output of apt-get update in your question? Commented May 6, 2016 at 13:19
  • 1
    You can check this SO thread for solution. Link to related site Commented Nov 1, 2016 at 9:09

2 Answers 2

171

I resolved running:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1397BC53640DB551

The command above download the missing key using the hexadecimal numbers given in the error (1397BC53640DB551) with apt-key. After running apt-key to download the missing PUBKEY, any packages from that repositories will be considered trusted.


It seems to be a known problem in chromium that is being worked on (check here). They are working to remove SHA1 encryption (link).

Another possible workarounds that have been posted on reddit

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

Looking at this, seems that Google now has two keys, and the old one will probably be discontinued along with SHA1.

4
  • 2
    The first one timed out for me (keyserver.ubuntu.com) so I had to use the second one from Google.
    – Ryan H.
    Commented Sep 4, 2016 at 17:42
  • 1
    If you're in an IPv6 only server, you can use pool.sks-keyservers.net instead of keyserver.ubuntu.com
    – James Z
    Commented Aug 28, 2017 at 18:11
  • Working fine when I can't add inkscape trunk in this tutorial inkscape.org/es/gallery/item/6641/view The error appear: "W: GPG error: ppa.launchpad.net/inkscape.dev/trunk/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9DA4BD18B9A06DE3 " Then I Add with this: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9DA4BD18B9A06DE3 Commented Feb 21, 2019 at 3:54
  • For me this command worked: apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 1397BC53640DB551
    – elif
    Commented Aug 18, 2019 at 17:59
46

Correct command line is:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1397BC53640DB551
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .