Fresh install on Debian 12 Bookworm

54 views
Skip to first unread message

Erik Schott

unread,
Sep 27, 2024, 11:07:38 AM9/27/24
to aprsc
I run T2NL already many years but now i had to change my vpn server and got a fresh debian 12 instantiation. 
However, the installation got stuck on the gpg keys. I installed gnupg2, adapted the sources list.
Then i get this and don't know how to solve it...

root@hamradio:~# apt update

Get:1 http://aprsc-dist.he.fi/aprsc/apt bookworm InRelease [1,198 B]

Get:2 http://aprsc-dist.he.fi/aprsc/apt bookworm/main amd64 Packages [579 B]                Hit:3 http://security.debian.org/debian-security bookworm-security InRelease                      Hit:4 http://deb.debian.org/debian bookworm InRelease                                                           Hit:5 http://deb.debian.org/debian bookworm-updates InReleas

Fetched 1,777 B in 1s (3,313 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: http://aprsc-dist.he.fi/aprsc/apt/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

How to overcome and many yhanks in advace

Erik, PA0ESH


Geoffrey Merck

unread,
Jun 7, 2025, 12:43:17 PMJun 7
to aprsc
I might be late to the party but here is the solution.

apt-key is in the process of being deprecated, hence the warning.
The solution is to install to remove the key from apt-key and refetch it in a way tha makes Debian 12 api

Remove the key from trusted.gpg
sudo apt-key del 657A2B8D

sudo gpg --keyserver keyserver.ubuntu.com --recv C51AA22389B5B74C3896EF3CA72A581E657A2B8D
sudo bash -c "gpg --export C51AA22389B5B74C3896EF3CA72A581E657A2B8D > /usr/share/keyrings/aprsc-archive-keyring.gpg"

Then edit /etc/apts/sources.list.d/aprsc.list to look like
deb [arch=amd64 signed-by=/usr/share/keyrings/aprsc-archive-keyring.gpg] http://aprsc-dist.he.fi/aprsc/apt bookworm main

@Hessu  can you update the instructions  at http://he.fi/aprsc/INSTALLING.html ?
Reply all
Reply to author
Forward
0 new messages