2023-02-26

Raspberry Pi 3b+ GPG Error

Reading package lists... Error! W: GPG error: http://raspbian.raspberrypi.org/raspbian stretch InRelease: Splitting up /var/lib/apt/lists/partial/raspbian.raspberrypi.org_raspbian_dists_stretch_InRelease into data and signature failed W: The repository 'http://raspbian.raspberrypi.org/raspbian stretch InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Splitting of file /var/lib/apt/lists/partial/raspbian.raspberrypi.org_raspbian_dists_stretch_Release failed as it doesn't contain all expected parts 0 1 0 W: The repository 'http://archive.raspberrypi.org/debian stretch Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Splitting of file /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_stretch_Release failed as it doesn't contain all expected parts 0 1 0 E: The package lists or status file could not be parsed or opened. pi@raspberrypi:/usr/bin$ apt-key list /etc/apt/trusted.gpg -------------------- pub rsa2048 2012-04-01 [SC] A0DA 38D0 D76E 8B5D 6388 7281 9165 938D 90FD DD2E uid [ unknown] Mike Thompson (Raspberry Pi Debian armhf ARMv6+VFP) sub rsa2048 2012-04-01 [E] pub rsa2048 2012-06-17 [SC] CF8A 1AF5 02A2 AA2D 763B AE7E 82B1 2992 7FA3 303E uid [ unknown] Raspberry Pi Archive Signing Key sub rsa2048 2012-06-17 [E] pi@raspberrypi:/usr/bin$ ls -l /usr/bin/apt-key -rwxr-xr-x 1 root root 26372 Dec 7 2020 /usr/bin/apt-key pi@raspberrypi:/usr/bin$ sudo su pi@raspberrypi:/usr/bin$ wget -qO - http://download.opensuse.org/repositories/home:/librespace:/satnogs-unstable/Raspbian_10/Release.key | apt-key --keyring /etc/apt/trusted.gpg add - OK pi@raspberrypi:/usr/bin$ root@satnogs37-prod:/home/pd# exit exit Referenece: https://community.libre.space/t/sudo-apt-update-signature-invalid/7643/5