install.zerotier.com
install.zerotier.com copied to clipboard
Installation fails on OpenSUSE Leap 15.6 on aarch64
The one line install command fails to install zerotier on OpenSUSE Leap 15.6 on aarch64 (Raspberry Pi) with *** Unknown or unsupported distribution! Aborting. It seems like ID has been updated from opensuse to opensuse-leap. The contents of /etc/os-release is as follows:
localhost:~ # cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.6"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.6"
PRETTY_NAME="openSUSE Leap 15.6"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.6"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap"
LOGO="distributor-logo-Leap"
I assume this is also the case for x86_64, however I haven't tested this.
Updating the install script to look for opensuse-leap instead of opensuse throws the following error:
localhost:~ # bash install.sh
*** ZeroTier Service Quick Install for Unix-like Systems
*** Tested OSes / distributions:
*** MacOS (10.13+) (just installs ZeroTier One.pkg)
*** Debian Linux (7+)
*** RedHat/CentOS Linux (6+)
*** Fedora Linux (16+)
*** SuSE Linux (12+)
*** Mint Linux (20+)
*** Kali Linux (2024.1+)
*** Supported architectures vary by OS / distribution. We try to support
*** every system architecture supported by the target.
*** Please report problems by opening a GitHub issue or Pull Request at:
*** https://github.com/zerotier/install.zerotier.com
*** Please include the content of `/etc/os-release` for your distribution.
*** Detecting Linux Distribution
*** Found SuSE, adding zypper YUM repo...
Warning: Legacy commandline option --type detected. This option is ignored.
Adding repository 'zerotier' ...............................................................................................................................................[done]
Repository 'zerotier' successfully added
URI : http://download.zerotier.com/redhat/el/7
Enabled : Yes
GPG Check : Yes
Autorefresh : No
Priority : 99 (default priority)
Repository priorities are without effect. All enabled repositories share the same priority.
*** Installing zeortier-one package...
Warning: File 'repomd.xml' from repository 'zerotier' is unsigned.
Note: Signing data enables the recipient to verify that no modifications occurred after the data
were signed. Accepting data with no, wrong or unknown signature can lead to a corrupted system
and in extreme cases even to a system compromise.
Note: File 'repomd.xml' is the repositories master index file. It ensures the integrity of the
whole repo.
Warning: We can't verify that no one meddled with this file, so it might not be trustworthy
anymore! You should not continue unless you know it's safe.
File 'repomd.xml' from repository 'zerotier' is unsigned.
Continue? [yes/no] (no): no
Error building the cache:
[zerotier|http://download.zerotier.com/redhat/el/7] Valid metadata not found at specified URL
History:
- Signature verification failed for repomd.xml
Warning: Skipping repository 'zerotier' because of the above error.
Some of the repositories have not been refreshed because of an error.
Loading repository data...
Reading installed packages...
'zerotier-one' not found in package names. Trying capabilities.
No provider of 'zerotier-one' found.
*** 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
localhost:~ #
The installer seems to work correctly on OpenSUSE Tumbleweed on aarch64.
It seems like manually running zypper install zerotier-one after the previous step installs the package just fine.
No provider of 'zerotier-one' found.
*** 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
localhost:~ # zypper install zerotier-one
Warning: File 'repomd.xml' from repository 'zerotier' is unsigned.
Note: Signing data enables the recipient to verify that no modifications occurred after the data
were signed. Accepting data with no, wrong or unknown signature can lead to a corrupted system
and in extreme cases even to a system compromise.
Note: File 'repomd.xml' is the repositories master index file. It ensures the integrity of the
whole repo.
Warning: We can't verify that no one meddled with this file, so it might not be trustworthy
anymore! You should not continue unless you know it's safe.
File 'repomd.xml' from repository 'zerotier' is unsigned.
Continue? [yes/no] (no): yes
Building repository 'zerotier' cache .......................................................................................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
zerotier-one
1 new package to install.
Overall download size: 3.7 MiB. Already cached: 0 B. After the operation, additional 13.1 MiB will be used.
Backend: classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: zerotier-one-1.14.0-1.el9.aarch64 (zerotier) (1/1), 3.7 MiB
Retrieving: zerotier-one-1.14.0-1.el9.aarch64.rpm ..............................................................................................................[done (1.5 MiB/s)]
Checking for file conflicts: ...............................................................................................................................................[done]
(1/1) Installing: zerotier-one-1.14.0-1.el9.aarch64 ........................................................................................................................[done]
localhost:~ #