Key is stored in the deprecated trusted.gpg keyring


I am currently getting the following error message when running

apt update

on a DietPi system v8.22.3 (RPi 2 Model B) with ADS-B from Opensky Network installed.

Whether the problem occurred after upgrading from Bullseye to Bookworm using MichaIng’s script, I can’t answer for sure.


root@vaultwarden:~# sudo apt-get update
OK:1 Index of linux/debian/ bookworm InRelease
OK:2 Index of /debian bookworm InRelease
OK:3 Index of /debian bookworm-updates InRelease
OK:4 bookworm-security InRelease
OK:5 opensky InRelease
OK:6 Index of /debian bookworm-backports InRelease
OK:7 Index of /debian bullseye InRelease
Paketlisten werden gelesen… Fertig
W: Schlüssel ist im veralteten Schlüsselbund trusted.gpg gespeichert (/etc/apt/trusted.gpg), siehe den Abschnitt MISSBILLIGUNG in apt-key(8) für Details.

Translate with DeepL:

W: key is stored in the deprecated trusted.gpg keyring (/etc/apt/trusted.gpg), see the MISUSE section in apt-key(8) for details.

Since I am not sure if the problem is within DietPi or Opensky Network, I am posting my question here as well. I will also ask the question in parallel in the OpenSky Network forum.

Best regards,


It’s a warning only and released to the way how you added opensky repository. I guess you did it manually some time back?


If only I remembered! :frowning:
In any case, it is not under DietPi software to install.
I don’t have the instructions for this at hand right now.

Do I have a chance to fix this and if so, how?


Possibly this was the link…

What about using the newly integrated ADS-B software package?
I also did ADS-B i the past “by hand”, but life is much easier with the package.
I am using a NanoPi M1+ for it, its temperature stays at 47-53 °C.

Sure, that’s an alternative. On an RPi Zero 2 I also have it installed and it works really well.
However, I would still like to run OpenSky on the RPi 2 B. If the error message is not so relevant, that would be ok for me.

It’s a warning only and not doing any harm to your system actually


Maybe you need to redo the install steps for the repository as described on the link

sudo dpkg -i opensky-feeder_latest_armhf.deb

If the message still persists, you might contact OpenSky team to inform them about the waring messages. I guess they need to adjust thier install methode for apt packages source.