[mythtv-users] deprecation on apt-key?

James Abernathy jfabernathy at gmail.com
Sun Dec 4 11:45:46 UTC 2022


On Sun, Dec 4, 2022 at 6:20 AM Paul Harrison <mythtv at mythqml.net> wrote:

> On 04/12/2022 10:37, James Abernathy 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
>
>
> These are some notes I took when I started to get these with another PPA
> that should help. The first link below has more info so wont go into
> details.
>
>
>
> ###################################################################################
> # How to fix Key is stored in legacy trusted.gpg keyring after Ubuntu
> 22.04 update
>
> ###################################################################################
>
>
> https://askubuntu.com/questions/1403556/key-is-stored-in-legacy-trusted-gpg-keyring-after-ubuntu-22-04-update
>
> https://askubuntu.com/questions/1398344/apt-key-deprecation-warning-when-updating-system/1398346#1398346
>
> sudo apt-key list
>
> ls -l /etc/apt/sources.list.d
>
> copy the old key to the keyring file
> sudo apt-key export A4C6383F | sudo gpg --dearmour -o
> /usr/share/keyrings/digitalocean-agent.gpg
>
> add to apt list file the location of the keyring file
> deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg]
> packages.microsoft.com
>
> Run sudo apt update to confirm the message is gone
> sudo apt update
>
> If the message is gone, remove the original signature:
> sudo apt-key del A4C6383F
>
>
> Paul H.
>

I appreciate the help.  I'm a little nervous about messing with these
keys.  So let me give a little more detail. Just a few days ago I built
from scratch a Linuxmint 21 system which is based on Ubuntu 22.04 Jammy
Jellyfish. immediately after the install and update of the system files I
added the mythbuntu PPA for v32 and got the system working.

So I'm wondering how I got to the point of any legacy stuff about keys. I
would think it should have been right out of the box?

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


More information about the mythtv-users mailing list