0

I'm running a 3B+ with Raspbian and I have a problem updating my raspberry pi 3b+

pi@server:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

This is my source.list (i couldn't post it here because it says it's spam) https://pastebin.com/3HCyuf0X and this is the output when I try to run sudo apt-get update https://pastebin.com/VuDM52JA

I have tried to restart and this

sudo apt clean
cd /var/lib/apt 
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt update 
1
  • The relevant part is The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 search for this error and you find the solution to solve this problem.
    – Robert
    Commented Jul 31, 2020 at 19:30

1 Answer 1

2

The error message indicates that the public signature key with id 40976EAF437D05B5 of a repository is missed. I don't know where to get the public key but because an Ubuntu repository is missing it, it is possible to get the key from the Ubuntu keyserver. Try to get and import it with:

rpi ~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.