I am having an issue on Debian 10 using any sort of third party repo. I want to install both Docker and ZeroTier One, but I am getting a similar issue trying to use both repos.
In the case of ZeroTier, thier website instructs me to use the command curl -s https://install.zerotier.com | sudo bash
. After doing that, and trying to run apt-update
I am met with the following:
Err:4 http://download.zerotier.com/debian/buster buster InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1657198823E52A61
Reading package lists... Done
W: GPG error: http://download.zerotier.com/debian/buster buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1657198823E52A61
E: The repository 'http://download.zerotier.com/debian/buster buster InRelease' is not signed.
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.
In the case of Docker, I have followed the the instructions directly from their website which can be found here. When I try to run apt-get update
I am met with the following error:
E: The repository 'https://download.docker.com/linux/debian \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.
I've read through the apt-secure
manpage and tried just about every solution I can find online, but to no avail. Someone please help me!
apt-key add
. This is not the source of the problem in this particular case, but anyone reading this should bear in mind that both Docker and ZeroTier have insecure repository installation mechanisms that introduce a well-known vulnerability onto users' systems, which was addressed by Debian in 2017. https://unix.stackexchange.com/a/463140/5132 – JdeBP Jun 29 '20 at 20:37