Score:0

After installing nala in Ubuntu 22.04, I got a warning

br flag

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?

Ashish Bhowmick avatar
br flag
No. still found this error
Artur Meinild avatar
vn flag
The answer I linked to is a complete duplicate, which have the answers to your issue. And it's not an error, it's a warning - *everything is still working*.
Ashish Bhowmick avatar
br flag
I did it before you comment here. Let me try again.
Artur Meinild avatar
vn flag
Then you didn't do it right, sorry. I know for a fact that the above answer (as well as several others) have solutions for this. Also, this warning has nothing to do with `nala`.
Ashish Bhowmick avatar
br flag
I checked again. but still not solved.
ChanganAuto avatar
us flag
Again, you didn't do it right. And again, nothing to do with `nala`.
Artur Meinild avatar
vn flag
If you want to explain, edit your question, and fully 1:1 write which commands you typed from the existing answer, and how it fails to help. Thanks.
Artur Meinild avatar
vn flag
The suggested fix is an example. You should change both the key ID and the name of the output file. Try `/etc/apt/trusted.gpg.d/openfoam.gpg` Or move on to answer #2 which has a script.
Sad3ng avatar
vn flag
why you are using team-xbmc.gpg from the suggested?, use your owned key `openfoam.gpg` from developer run `sudo sh -c "wget -O - https://dl.openfoam.org/gpg.key > /etc/apt/trusted.gpg.d/openfoam.asc"`
Ashish Bhowmick avatar
br flag
Its works. but found other warning for my wrong command. I'm so much beginner. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.microsoft.com/repos/code stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
Ashish Bhowmick avatar
br flag
W: Failed to fetch http://packages.microsoft.com/repos/code/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF W: Some index files failed to download. They have been ignored, or old ones used instead.
Artur Meinild avatar
vn flag
This question is now closed. Please see the many other topics on this issue, and try to understand how `apt` keys should be correctly installed now (preferably to `/etc/apt/keyrings` and not `/etc/apt/trusted.gpg.d`, because this can be risky).
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.