Wednesday, October 17, 2018

14.04 - GPG error, signatures public key not available TRIED A LOT


apt-get update returns :


W: GPG error: http://pl.archive.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://pl.archive.ubuntu.com trusty-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: GPG error: http://deb.torproject.org trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EE8CBC9E886DDD89
W: GPG error: http://security.ubuntu.com trusty-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991

I've tried many recommended solutions from old questions but nothing seems to help.



  • sudo apt-get clean


  • sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
    (with all the missing keys)


  • I installed lauchpad-getkeys which is supposed to restore keys automatically



Any ideas?



You are probably affected by bug 1263540. I suggest you try:



  1. sudo apt-get clean

  2. sudo mv /var/lib/apt/lists /var/lib/apt/lists.old

  3. mkdir -p /var/lib/apt/lists/partial

  4. Remove any 0 lenght files in /etc/apt/trusted.gpg.d/

  5. sudo apt-get update


If it doesn't work restore /var/lib/apt/lists backed up in step 2.


Source


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...