Official repo public key not available
UPDATE: Fix
________________
Here's what I'm getting on Ubuntu 22.10 when I run # apt update
:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://linux.teamviewer.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
Any ideas?
TeamViewer on 5 Windows PCs, 4 Linux PCs, & 2 Android smartphones
Comments
-
Hello, the pubkey is changing from time to time.
Here's what you can run in your terminal in order to fix it:
wget -O - https://linux.teamviewer.com/pubkey/currentkey.asc | sudo apt-key add -
0 -
The command line tells me that
apt-key
is depreciated. What is the replacement?Thanks for your help!
0 -
You can use keyring.
Find teamviewer-keyring.gpg in /usr/share/keyrings/, if not get it by:
wget -q https://linux.teamviewer.com/pubkey/currentkey.asc -O- \ | gpg --dearmor | sudo tee /usr/share/keyrings/teamviewer-keyring.gpg
Then add it to the source.list.d:
echo "deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main" \ > /etc/apt/sources.list.d/teamviewer.list
I hope this helps you.
0 -
I am having a similar problem with Fedora Silver Blue 41. It was all working but suddenly when I run `rpm-ostree update` it started to present this message:
error: Updating rpm-md repo 'teamviewer': cannot update repo 'teamviewer': repomd.xml GPG signature verification error: Signing key not found
Do you have any idea. h How do I import this key using rpm-ostree?
Best!
0