[SOLVED] How to put the trusted key in the new place with 22.04

Post Reply
Enig123
Posts: 60
Joined: Mon Mar 09, 2020 12:13 pm
languages_spoken: english
ODROIDs: Odroid HC1
Has thanked: 1 time
Been thanked: 3 times
Contact:

[SOLVED] How to put the trusted key in the new place with 22.04

Post by Enig123 »

After upgrading to ubuntu 22.04, running 'sudo apt update' with give me this message:

W: http://deb.odroid.in/5422-s/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.

My question is, how to put the obviously odroid's packages source key to the right location with ubuntu 22.04?

mdrjr
Site Admin
Posts: 11808
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 48 times
Contact:

Re: How to put the trusted key in the new place with 22.04

Post by mdrjr »

one easy method is.
sudo mv /etc/apt/trusted.gpg /etc/apt/trusted.d/odroid-keyring.gpg

Enig123
Posts: 60
Joined: Mon Mar 09, 2020 12:13 pm
languages_spoken: english
ODROIDs: Odroid HC1
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: How to put the trusted key in the new place with 22.04

Post by Enig123 »

Tried but it seems not working as expected. Has to revert it.

mdrjr
Site Admin
Posts: 11808
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 48 times
Contact:

Re: How to put the trusted key in the new place with 22.04

Post by mdrjr »

The correct command is

sudo mv /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/odroid-keyring.gpg

Enig123
Posts: 60
Joined: Mon Mar 09, 2020 12:13 pm
languages_spoken: english
ODROIDs: Odroid HC1
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: How to put the trusted key in the new place with 22.04

Post by Enig123 »

Thanks. This one works as expected.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 7 guests