Raspberry Pi Asked by Shiddiqi on November 5, 2021
I need help, can anyone solve this problem? My Raspberry Pi can’t update and is showing this when I run sudo apt update
:
How can I fix this?
That means that the public key is not identified as trusted key. You need simply to run the following command followed by the key needed:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <pub key>
Answered by Mo Molosi on November 5, 2021
Maybe it is a problem with your mirror. Even my closest mirror right now is down (ireland). Maybe this issue could be fixed by changing mirror.
You can change the apt source/ repo by and fix this issue by:
$ sudo nano /etc/apt/sources.list
Then you edit the first line by adding a # at the beginning. Add the the end of the line:
deb http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian buster main contrib non-free rpi
Your file should look like this:
#deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-$
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib $
deb http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian buster main contrib non-free rpi
Then Ctrl-x to save + Y Then :
$ sudo apt-get update
The issue could now be fixed
Answered by Bastien Bastien on November 5, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP