Failed: Update 8.17.2 to 8.18.2

Hello,

Trying to run dietpi-update to update to 8.18.2 from 8.17.2 and it fails and give the following error, something about the repos not being secure.

Maybe it needs to be removed but no idea where this is held.

Thanks.

Details:

  • Date | Wed Jun 21 21:23:38 BST 2023
  • DietPi version | v8.17.2 (MichaIng/master)
  • Image creator | DietPi Core Team
  • Pre-image | Raspbian Lite
  • Hardware | RPi 4 Model B (armv7l) (ID=4)
  • Kernel version | Linux DietPi 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux
  • Distro | buster (ID=5,RASPBIAN=1)
  • Command | apt-get -y update
  • Exit code | 100
  • Software title | DietPi-Update

Steps to reproduce:

  1. … dietrpi-update

Additional logs:

Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Get:2 http://httpredir.debian.org/debian buster-backports InRelease [51.4 kB]
Hit:3 https://download.docker.com/linux/raspbian buster InRelease
Hit:4 https://apt.sonarr.tv/debian buster InRelease
Hit:5 https://downloads.plex.tv/repo/deb public InRelease
Hit:6 https://download.mono-project.com/repo/debian raspbianbuster InRelease
Hit:7 https://archive.raspberrypi.org/debian buster InRelease
Hit:8 https://deb.nodesource.com/node_16.x buster InRelease
**Err:2 http://httpredir.debian.org/debian buster-backports InRelease**
**  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131**
**Reading package lists...**
**W: GPG error: http://httpredir.debian.org/debian buster-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131**
E: The repository 'http://httpredir.debian.org/debian buster-backports InRelease' is not signed.

So I went into /etc/apt/sources.list.d

and renamed debian-backports.list to debian-backports.list.old and then ran dietpi-update and this time it updated fine.

is this Repo important or can i just ignore this one. thanks

Did you added this one manually? Can you share the content.

Hi… no it was just ther. from the date it seems it was there from 29 Dec '22

here the content of the file just one line

deb http://httpredir.debian.org/debian buster-backports main contrib non-free

You are using an old Debian Buster system. And we don’t offer these images anymore for 2 years. Therefore, the source file must have been created manually later. Anyway, http://httpredir.debian.org/ is not the best option for Debian packages. You should rather use http://deb.debian.org/.

Additionally, you are using an old image based on Raspbian OS. Therefore, it is quite possible that the Debian package source no longer contains a valid PGP key. This would then have to be updated.

However, it would be better to upgrade to Debian Bullseye. DietPi - How to upgrade to "Bullseye" - DietPi blog