Ati*_*afi 18 package-management system-installation
我无法更新库和依赖项
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 <info@philandro.com>
W: Failed to fetch http://deb.anydesk.com/dists/all/InRelease The following signatures were invalid: EXPKEYSIG 18DF3741CDFFDE29 philandro Software GmbH <info@philandro.com>
Run Code Online (Sandbox Code Playgroud)
获得上述错误需要帮助,提前致谢
N0r*_*ert 47
您必须遵循http://deb.anydesk.com/howto.html中的文档。
要(重新)添加 GPG 密钥,请打开终端并执行:
wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | sudo apt-key add -
Run Code Online (Sandbox Code Playgroud)
然后更新包列表
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
小智 5
如果您使用的是 Debian 12 ,anydesk/howto.html中的文档已过时。正如您可以阅读的man 8 apt-key
apt-key(8) 将最后在 Debian 11 和 Ubuntu 22.04 中可用
因此,我编写了一个简单的 bash 脚本来从存储库安装 Debian Bookworm 中的anydesk:
#!/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
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
22677 次 |
| 最近记录: |