Search This Blog

2024/10/27

Ubuntu:Key is stored in legacy trusted.gpg keyring

First run

sudo apt update

If you get message saying "Key is stored in legacy
trusted.gpg keyring like below"

Fetched 1,701 kB in 4s (422 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
28 packages can be upgraded. Run 'apt list --upgradable'
to see them.
W: http://archive.neon.kde.org/user/dists/bionic/InRelease:
Key is
stored in legacy trusted.gpg keyring
(/etc/apt/trusted.gpg), see the DEPRECATION
                section in apt-key(8) for details.

Then you can get rid of this message using following
procedure

cd /etc/apt
sudo cp trusted.gpg trusted.gpg.d

Now run
sudo apt update

You will not get "Key is stored in legacy trusted.gpg
keyring like below" message

No comments:

Post a Comment