22

I am unable to update libs and dependencies

The repository is not updated and the previous index files will be used. GPG error: http://deb.anydesk.com all In Release: The following signatures were invalid: EXPKEYSIG 18DF3741CDFFDE29 philandro Software GmbH <[email protected]>
W: Failed to fetch http://deb.anydesk.com/dists/all/InRelease  The following signatures were invalid: EXPKEYSIG 18DF3741CDFFDE29 philandro Software GmbH <[email protected]>

getting the above error help needed, thanks in advance

2
  • 1
    the anydesk repositories are signed with an outdated key. They should have provided an updated key, and if they continue to not provide an updated key for you to add to your system, then you are going to have to contact AnyDesk for support - it's their software repository so it's not really something we can fix if they haven't provided an updated key Commented Dec 23, 2021 at 18:20
  • check this deb.anydesk.com/howto.html Commented Feb 12 at 16:58

3 Answers 3

50

You have to follow their documentation from http://deb.anydesk.com/howto.html .

To (re)add GPG key open terminal and execute:

wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | sudo apt-key add -

then update package lists by

sudo apt-get update
1
  • apt-key is deprecated Commented Feb 12 at 16:55
7

The documentation in anydesk/howto.html is outdated if you are using Debian 12. As you can read in man 8 apt-key

apt-key(8) will last be available in Debian 11 and Ubuntu 22.04

So, I wrote a simple bash script to install anydesk in Debian Bookworm from repository:

#!/bin/bash

wget -O- https://keys.anydesk.com/repos/DEB-GPG-KEY | gpg --dearmor | tee /etc/apt/keyrings/anydesk.gpg > /dev/null

echo deb [signed-by=/etc/apt/keyrings/anydesk.gpg] http://deb.anydesk.com/ all main | tee /etc/apt/sources.list.d/anydesk-stable.list

apt update && apt -y install anydesk
1
  • It is advisable to use /usr/share/keyrings/ instead of /etc/apt/keyrings/ for third party repositories. wiki.debian.org/DebianRepository/UseThirdParty Also the tee commands will need to be run with sudo. Commented Dec 20, 2023 at 10:41
0

To (re)add GPG key open terminal and execute:

wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/anydesk.gpg

then update package lists by

sudo apt-get update

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.