I recently updates to Debian 12. This message appears while doing an apt update:
W: http://openresty.org/package/debian/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.
There referenced man 8 apt-key suggests:
wget -O - https://openresty.org/package/pubkey.gpg | sudo tee /etc/apt/trusted.gpg.d/openresty.asc
I don't know how far back this change to apt happened, so I would suggest a split for the Debian section in For Debian <= 11 and For Debian 12 or above (just as with ubuntu).
I recently updates to Debian 12. This message appears while doing an
apt update
:There referenced
man 8 apt-key
suggests:I can very that this is working. 🟢
The reference is here: https://github.com/openresty/openresty.org/blob/master/v2/en/linux-packages.md?plain=1#L259
I don't know how far back this change to apt happened, so I would suggest a split for the Debian section in
For Debian <= 11
andFor Debian 12 or above
(just as with ubuntu).