I install nala in Ubuntu 22.04 today. After install I have a warning on my terminal when I run the command sudo apt update
.
The warning is:
W: http://dl.openfoam.org/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.
I've done the following:
sudo apt-key list
terminal shows so many pub file around 8-9. Then i command
sudo apt-key export 91E7EE5E | sudo gpg --dearmour -o /etc/apt/trusted.gpg.d/team-xbmc.gpg
Terminal show:
File '/etc/apt/trusted.gpg.d/team-xbmc.gpg' exists. Overwrite? (y/N)
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). gpg:
WARNING: nothing exported Overwrite? (y/N)
Now what need to do?
nala
./etc/apt/trusted.gpg.d/openfoam.gpg
Or move on to answer #2 which has a script.