Missing Signed-By in the sources.list(5) entry for 'https://deb.debian.org/debian'

Hi, I just have started using dietpi but I have some issues and was hoping to get help here.

I want to read my OBDII CAN and create some gauges but I am having problems due to not being able of updating the system.

Can someone guide me in the right direction please?

  • DietPi version | cat /boot/dietpi/.version
  • G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=16
    G_DIETPI_VERSION_RC=3
    G_GITBRANCH='master'
    G_GITOWNER='MichaIng'
    G_LIVE_PATCH_STATUS[0]='applied'
    G_LIVE_PATCH_STATUS[1]='applied'
    G_LIVE_PATCH_STATUS[2]='applied'
    
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • forky 0
    
  • Kernel version | uname --all
  • Linux DietPi 6.12.34+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.34-1+rpt1 (2025-06-26) aarch64 GNU/Linux
    
  • Architecture | dpkg --print-architecture
  • arm64
    
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
  • RPi Zero 2 W (aarch64)
    
root@DietPi:~# apt-get update
Get:1 https://deb.debian.org/debian trixie-backports InRelease [53.8 kB]
Hit:2 https://dietpi.com/apt trixie InRelease
Get:3 https://archive.raspberrypi.com/debian trixie InRelease [54.7 kB]
Hit:4 https://dietpi.com/apt all InRelease
Hit:5 https://deb.debian.org/debian trixie InRelease
Get:6 https://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Get:7 https://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:8 https://archive.raspberrypi.com/debian trixie/main arm64 Packages [336 kB]
Get:9 https://deb.debian.org/debian sid InRelease [216 kB]
Get:10 https://deb.debian.org/debian sid/main arm64 Packages.diff/Index [63.6 kB]
Get:11 https://deb.debian.org/debian sid/main arm64 Packages T-2025-09-17-1407.42-F-2025-09-17-0915.42.pdiff [31.3 kB]
Get:11 https://deb.debian.org/debian sid/main arm64 Packages T-2025-09-17-1407.42-F-2025-09-17-0915.42.pdiff [31.3 kB]
Fetched 846 kB in 2min 42s (5,222 B/s)
Reading package lists... Done
N: Missing Signed-By in the sources.list(5) entry for 'https://deb.debian.org/debian'
N: Missing Signed-By in the sources.list(5) entry for 'https://archive.raspberrypi.com/debian'
root@DietPi:~# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-image-rpi-v8
The following packages will be upgraded:
  libasound2-data libasound2t64 libaudit-common libaudit1 libexpat1 libnss3
  raspi-firmware
7 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 14.9 MB of archives.
After this operation, 341 kB of additional disk space will be used.
Do you want to continue? [Y/n]  Missing Signed-By in the sources.list(5) entry for 'https://deb.debian.org/debian'
Abort.

I am investigating and found this:

Warning: https://archive.raspberrypi.com/debian/dists/trixie/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/raspberrypi.gpg are ignored as the file is not readable by user executing gpgv.
Warning: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. OpenPGP signature verification failed: https://archive.raspberrypi.com/debian trixie InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Error: Failed to parse keyring "/etc/apt/trusted.gpg.d/raspberrypi.gpg"  Caused by:     0: Reading "/etc/apt/trusted.gpg.d/raspberrypi.gpg": No such file or directory (os error 2)     1: No such file or directory (os error 2)
Warning: Failed to fetch https://archive.raspberrypi.com/debian/dists/trixie/InRelease  Sub-process /usr/bin/sqv returned an error code (1), error message is: Error: Failed to parse keyring "/etc/apt/trusted.gpg.d/raspberrypi.gpg"  Caused by:     0: Reading "/etc/apt/trusted.gpg.d/raspberrypi.gpg": No such file or directory (os error 2)     1: No such file or directory (os error 2)
Warning: Some index files failed to download. They have been ignored, or old ones used instead.
Notice: Missing Signed-By in the sources.list(5) entry for 'https://deb.debian.org/debian'
root@DietPi:/etc/apt/sources.list.d#

ohhhmmm what image you used for installation? Forky is the next Debian version that will not be released before 2027. I wonder how you end up with a Forky system but still using Trxie repository configuration.

I don’t know.
I must have installed “DietPi_RPi234-ARMv8-Trixie.img.xz”

can you check following

cat /etc/debian_version

sure, thanks:

forky/sid

ok now I see, you added SID repository to your source list. Something you did manually by purpose?

If you have a backup or not a complicated setup to recreate, I would restore the backup or start fresh over. Debian unstable/Sid is a developer playground, not meant for production. If you want to stay on edge, knowing the consequences well, Debian testing/Forky is the farthest I would go for a usable system (but you are on unstable/Sid). It is sadly moreless impossible to downgrade a Debian release, since this would mean to downgrade each and every package, which they are not really meant for in general.

Check back where you got that suggestion from to add https://deb.debian.org/debian sid or https://deb.debian.org/debian unstable to your repository lists and ban that guide/instructions :sweat_smile:. And remove the file in /etc/apt/sources.list.d which contains it.

But let’s check the keys to see what’s wrong beside that:

ls -l /etc/apt/trusted.gpg.d

I am new to dietpi and was just testing.
I want to install tunerstudio dach and have a 5” LCD display connected.

Don’t remember why I did that.

But since it is just a test set-up and me not having anything important running I will just start over and see where I go from there and then come back and report.

thanks for everyones help so far.

1 Like

I locked myself out. I was changing all my wireless passwords yesterday because I was giving them to people instead of creating a guest network on my openwrt routers.

The process of switching my pi via command line to the new SSID and password didn’t go as exptected.

I have a LCD connected and could change config via USB keyboard if I can find an USB adapter somewhere.

Or I could take the SD card out and configure it in the computer?
But I probably just start from scratch and not waste more time with this corrupted configuration?

Maybe best as it’s already quite difficult to fix the Forky installation as it is now.

Could be interesting to see (for me) what the problem with the APT keys is, but otherwise there is probably not much reason to invest time.

This one?

So installing Java, then

java -jar /path/to/TSDash/TSDash.jar

If there are any issues with the Java version being too old or too new, the Adoptium repository we add when installing Java JRE via dietpi-software offers plenty of Java versions which can be installed concurrently: JFrog

I just set up a new dietpi.

rusefi installation guidance for tunerstudio dash

b. Ensure that “TunerStudio.sh” shows up in the results. If it is not, re-install

  Note: you MAY need to install JAVA... if so, type

  `sudo apt-get install openjdk-8-jre`

  To set default Java runtime

  `sudo update-alternatives --config java`

I think to have read that TS is a bit picky regarding the java version.

root@DietPi:~# sudo apt-get install openjdk-8-jre
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package openjdk-8-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'openjdk-8-jre' has no installation candidate

I installed java via dietpi-software but I am not sure how to add Adoptium repository

These are ancient instructions, Java 8 is long EOL. Do this:

dietpi-software install 196

or select Java JRE interactively in dietpi-software menu.

EDIT: Ah you did already. Then it should be all fine, there should be Java 21 from the Adoptium repository installed. To check:

java -version

thank you.
Yes it’s outdated but I believe to have read that Tunerstudio Dash runs best or only with this version?

root@DietPi:~# java -version
openjdk version "21.0.8" 2025-07-15 LTS
OpenJDK Runtime Environment Temurin-21.0.8+9 (build 21.0.8+9-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.8+9 (build 21.0.8+9-LTS, mixed mode, sharing)
root@DietPi:~# wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add -
-bash: apt-key: command not found
root@DietPi:~#

This is also outdated information :sweat_smile:. apt-key is deprecated since 4 years or so and has been removed with Debian Trixie. And AdoptOpenJDK does not exist anymore, now it is Adoptium, which the Java version you already have is from. There is nothing else needed, just download, extract and start TSDash.

Java 21 is the current LTS, should be best supported in general. Only if TSDash unexpectedly requires an older or newer one (which it would print to console on startup), there would be a reason to install other version.

mm reving this, Ive recently been having issues with apt updates since last bookworm update before Christmas. I know see its showing version as Forky not Bookworm. No idea how this happened as I dont mess with repo’s. I take it no way to go back other than a re-install?

Pls create an own topic filling all required information and share some logs