Matthew/Tom - I did find one way that seems to maybe work.

wget -qO - https://weewx.com/keys.html | sudo gpg --dearmor > 
/etc/apt/trusted.gpg.d/weewx.gpg

On Thursday, November 11, 2021 at 3:30:28 PM UTC-8 Vince Skahan wrote:

> Looks like the way folks install apt repo keys needs to change.   When you 
> try the commands from the installation instructions you get a warning 
> saying 
>
> "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d 
> instead (see apt-key(8))."
>
> This is already causing pain for updated RaspiOS (deb11 based) users.
>
> A relatively painful researching seems to say that apt-key is going away 
> in the next major debian(ish) release and that the procedure for importing 
> repo keys needs to be relatively significantly changed.
>
> One reference I can find is (here) 
> <https://www.linuxuprising.com/2021/01/apt-key-is-deprecated-how-to-add.html>,
>  
> but in any event it seeeeeems like the right thing to do is to get the keys 
> into a standalone file in /etc/apt/trusted.gpg.d much like the instructions 
> currently add to sources.list.d
>
> Wish I had precise instructions to suggest but all the discussions I could 
> find were way deep into intellectual/licensing purity zealotry and not just 
> sticking with the core issue of "these are the changes you need to make".
>
> Let me know if you want me to open a github issue on this one....
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/3c952fe9-9e16-40e8-99a9-75b8ec6c2ce3n%40googlegroups.com.

Reply via email to