如何解决缺少发布文件的问题

如何解决缺少发布文件的问题

我目前正在尝试按照以下步骤安装 syncthing官方指南但在我

# Add the "stable" channel to my APT sources:
echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list

sudo apt-get update

我收到以下回复

...
Ign:2 https://apt.syncthing.net syncthing InRelease
...
Reading package lists... Done
E: The repository 'https://apt.syncthing.net syncthing Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

不确定接下来该怎么做。没有“安全方式”来安装 scynthing 吗?有人遇到过这个问题吗?非常感谢您的帮助,谢谢。

答案1

我相信您首先需要添加 syncthing 发布文件。

添加发布 PGP 密钥:

卷曲https://syncthing.net/release-key.txt| sudo apt-key 添加 -

然后将“稳定”频道添加到您的 APT 源:

回显“debhttps://apt.syncthing.net/syncthing 稳定” | sudo tee /etc/apt/sources.list.d/syncthing.list

现在更新并安装 syncthing:

sudo apt update

sudo apt install syncthing

[可选]sudo apt install syncthing-gtk

相关内容