[mythtv-users] deprecation on apt-key?

Stephen Worthington stephen_agent at jsw.gen.nz
Sun Dec 4 12:25:13 UTC 2022


On Sun, 4 Dec 2022 05:37:32 -0500, you wrote:

>Just started see this warning when running apt update:
>
>W: http://ppa.launchpad.net/mythbuntu/32/ubuntu/dists/jammy/InRelease: Key
>is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see
>the DEPRECATION section in apt-key(8) for details.
>
>Anything I should do on my end?
>
>Jim A

https://www.techrepublic.com/article/how-to-fix-the-apt-key-deprecated-warning-in-ubuntu/
https://itsfoss.com/apt-key-deprecated/

So basically you need to find out what keys are stored in
/etc/apt/trusted.gpg and extract them to separate files in
/etc/apt/trusted.gpg.d.  And in future, do not use apt-key to install
new keys, even if the site you are installing them from tells you to
do that.  Use the new system of creating separate files for each key
in /etc/apt/trusted.gpg.d.


More information about the mythtv-users mailing list