apt updaet 报错 E: The repository 'http://download.zerotier.com/debian/bionic...


*** Installing zerotier-one package...
Get:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Ign:2 http://download.zerotier.com/debian/bionic bionic InRelease                                           
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease                                          
Err:4 http://download.zerotier.com/debian/bionic bionic Release                               
  404  Not Found [IP: 80]
Hit:5 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease                          
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease       
Reading package lists... Done                     
E: The repository 'http://download.zerotier.com/debian/bionic bionic 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.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package zerotier-one

*** Package installation failed! Unfortunately there may not be a package
*** for your architecture or distribution. For the source go to:
*** https://github.com/zerotier/ZeroTierOne
错误:17 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
  无法连接上 archive.ubuntukylin.com:10006 (,连接超时
已下载 306 kB,耗时 31秒 (10.0 kB/s)                     
正在读取软件包列表... 完成
正在读取状态信息... 完成       
W: 无法下载 http://archive.ubuntukylin.com:10006/ubuntukylin/dists/xenial/InRelease  无法连接上 archive.ubuntukylin.com:10006 (,连接超时
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

For now you can use the xenial distribution by changing all instances of bionic to xenial in /etc/apt/sources.d/zerotier.list . This is a temporary solution, but appears to work for me so far.

The location is now /etc/apt/sources.list.d/zerotier.list

Try it again. Should work now.

No Ubuntu 18.04 release #727