[mythtv-users] deprecation on apt-key?

James Abernathy jfabernathy at gmail.com
Sun Dec 4 12:52:51 UTC 2022


On Sun, Dec 4, 2022 at 7:33 AM James Abernathy <jfabernathy at gmail.com>
wrote:

>
>
> On Sun, Dec 4, 2022 at 7:26 AM Stephen Worthington <
> stephen_agent at jsw.gen.nz> wrote:
>
>> 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.
>>
>> This is the confusing part. I've never used apt-key to install any key.
> Unless
>
> add-apt-repository ppa:mythbuntu/32
>
> used that??
>
> So maybe a change is needed in the install process for MythTV?
>
> Jim A
>

Stephen, Your link at techrepublic was easier for me to understand.  The
only key that was in /etc/apt/trusted.gpg was the one mythbuntu install
added. so I just did:

sudo apt-key export 1504888C | sudo gpg --dearmour -o
/etc/apt/trusted.gpg.d/mythbuntu.gpg

Then I delete the trusted.gpg file.

Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20221204/aee32442/attachment.htm>


More information about the mythtv-users mailing list