Score:0

I accidentally deleted the folder trusted.gpg.d

bh flag

I faced the error message

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).

so I deleted the trusted.gpg.d folder and now I can't even update

I tried this fix but doesn't work for me because i don't really understand what to do

and I got these messages

bash: syntax error near unexpected token `newline'

so I really don't know what to do

the main reason that happened to me when I tried to install Atom text editor

pl flag
Just an aside, but Atom is an abandoned text editor. You may want to find a new code editor.
Mostafa Ahmed AbdulRazik avatar
bh flag
i already installed it but now i wanna retrieve my data to be able to update
pl flag
What version of Ubuntu are you using?
Mostafa Ahmed AbdulRazik avatar
bh flag
i use 22.04 LTS
Score:0
pl flag

In the solution you linked to, it has text like this: <key_in_hexadicimal> - which you are not supposed to copy directly like that. You're supposed to replace that text (including the < and >) with the key from the PPA or repository that you want to re-add back to your keyring.

Mostafa Ahmed AbdulRazik avatar
bh flag
I just want the normal keys for the update I can't even update frome the softwere update tool
Mostafa Ahmed AbdulRazik avatar
bh flag
sadly i deleted the whole folder and its content but i recreated it as admin but i dunno if that wil fix it or not i tried before doing what you said but nothing
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.