Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 16433  / 1 Year ago, mon, february 13, 2023, 1:42:01

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?


More From » 14.04

 Answers
5

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


[#23175] Wednesday, February 15, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uquelighted

Total Points: 242
Total Questions: 110
Total Answers: 106

Location: Cyprus
Member since Tue, Sep 22, 2020
4 Years ago
;