OpenSuse Tumbleweed + Leap 15.2 install fails

I’ve tried to install zerotier-one on OpenSuse (Leap and Tumbleweed) but both the install script as the snapd install fail.

Terminal output from those installs:

syds@localhost:~> sudo zypper refresh

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for root:
Repository ‘openSUSE-Leap-15.2-1’ is up to date.
Repository ‘Non-OSS Repository’ is up to date.
Repository ‘Main Repository’ is up to date.
Repository ‘Main Update Repository’ is up to date.
Repository ‘Update Repository (Non-Oss)’ is up to date.
All repositories have been refreshed.
syds@localhost:~> curl -s ‘raw. githubusercontent. com/zerotier/ZeroTierOne /master/doc/contact%40zerotier.com.gpg’ | gpg --import && \

if z=$(curl -s 'https:// install. zerotier. com/' | gpg); then echo "$z" | sudo bash; fi
gpg: directory '/home/syds/.gnupg' created
gpg: keybox '/home/syds/.gnupg/pubring.kbx' created
gpg: /home/syds/.gnupg/trustdb.gpg: trustdb created
gpg: key 1657198823E52A61: public key "ZeroTier, Inc. (ZeroTier Support and Release Signing Key) contact@zerotier.com" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
gpg: Signature made Thu 05 Sep 2019 08:58:31 PM CEST
gpg:                using RSA key 74A5E9C458E1A431F1DA57A71657198823E52A61
gpg:                issuer "contact@zerotier.com"
gpg: Good signature from "ZeroTier, Inc. (ZeroTier Support and Release Signing Key) contact@zerotier.com" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 74A5 E9C4 58E1 A431 F1DA  57A7 1657 1988 23E5 2A61

*** ZeroTier One Quick Install for Unix-like Systems

*** Tested distributions and architectures:
*** MacOS (10.7+) on x86_64 (just installs ZeroTier One.pkg)
*** Debian (7+) on x86_64, x86, arm, and arm64
*** RedHat/CentOS (6+) on x86_64 and x86
*** Fedora (16+) on x86_64 and x86
*** SuSE (12+) on x86_64 and x86
*** Mint (18+) on x86_64, x86, arm, and arm64

*** Please report problems to contact@zerotier.com and we will try to fix.

*** 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

Can't provide /repodata/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

syds@localhost:~> sudo zypper addrepo --refresh https:// download. opensuse. org/repositories/system:/snappy/openSUSE_Leap_15.2 snappy
Adding repository ‘snappy’ …[done]
Repository ‘snappy’ successfully added

URI : https:// download. opensuse. org/repositories/system:/snappy/openSUSE_Leap_15.2
Enabled : Yes
GPG Check : Yes
Autorefresh : Yes
Priority : 99 (default priority)

Repository priorities are without effect. All enabled repositories share the same priority.
syds@localhost:~> sudo zypper --gpg-auto-import-keys refresh
Repository ‘openSUSE-Leap-15.2-1’ is up to date.
Repository ‘Non-OSS Repository’ is up to date.
Repository ‘Main Repository’ is up to date.
Repository ‘Main Update Repository’ is up to date.
Repository ‘Update Repository (Non-Oss)’ is up to date.
Retrieving repository ‘snappy’ metadata ---------------------------------------------[]

Automatically importing the following key:

Repository: snappy
Key Name: system:snappy OBS Project system:snappy@build.opensuse.org
Key Fingerprint: 4F2FA05B 2C6589C3 FD12055E F7C6E425 ED340235
Key Created: Wed 05 Sep 2018 12:57:20 PM CEST
Key Expires: Fri 13 Nov 2020 11:57:20 AM CET (expires in 49 days)
Rpm Name: gpg-pubkey-ed340235-5b8fb690

Retrieving repository ‘snappy’ metadata …[done]
Building repository ‘snappy’ cache …[done]
Retrieving repository ‘zerotier’ metadata -------------------------------------------[-]
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): y
Retrieving repository ‘zerotier’ metadata …[done]
Building repository ‘zerotier’ cache …[done]
All repositories have been refreshed.
syds@localhost:~> sudo zypper in zerotier-one
Loading repository data…
Reading installed packages…
Resolving package dependencies…

Problem: nothing provides libstdc++ needed by zerotier-one-1.4.6-1.el7.x86_64
Solution 1: do not install zerotier-one-1.4.6-1.el7.x86_64
Solution 2: break zerotier-one-1.4.6-1.el7.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] ©: 1
Resolving dependencies…
Resolving package dependencies…

Nothing to do.
syds@localhost:~> sudo zypper dup --from snappy
Loading repository data…
Reading installed packages…
Computing distribution upgrade…

Nothing to do.
syds@localhost:~> sudo zypper install snapd
Loading repository data…
Reading installed packages…
Resolving package dependencies…

The following 11 NEW packages are going to be installed:
gnome-desktop-lang libgnome-desktop-3_0-common libgnome-desktop-3-18 snapd squashfs
xdg-desktop-portal xdg-desktop-portal-gtk xdg-desktop-portal-gtk-lang
xdg-desktop-portal-kde xdg-desktop-portal-kde-lang xdg-desktop-portal-lang

11 new packages to install.
Overall download size: 15.1 MiB. Already cached: 0 B. After the operation, additional
69.8 MiB will be used.
Continue? [y/n/v/…? shows all options] (y): y
Retrieving package libgnome-desktop-3-18-3.34.4-lp152.1.4.x86_64
(1/11), 135.6 KiB (382.7 KiB unpacked)
Retrieving: libgnome-desktop-3-18-3.34.4-lp152.1.4.x86_64.rpm …[done (1.2 MiB/s)]
Retrieving package squashfs-4.3-lp152.3.6.x86_64 (2/11), 133.1 KiB (351.1 KiB unpacked)
Retrieving: squashfs-4.3-lp152.3.6.x86_64.rpm …[done]
Retrieving package xdg-desktop-portal-1.6.0-lp152.3.3.x86_64
(3/11), 313.2 KiB ( 1.8 MiB unpacked)
Retrieving: xdg-desktop-portal-1.6.0-lp152.3.3.x86_64.rpm …[done]
Retrieving package libgnome-desktop-3_0-common-3.34.4-lp152.1.4.x86_64
(4/11), 44.5 KiB ( 88.7 KiB unpacked)
Retrieving: libgnome-desktop-3_0-common-3.34.4-lp152.1.4.x86_64.rpm …[done]
Retrieving package xdg-desktop-portal-lang-1.6.0-lp152.3.3.noarch
(5/11), 29.5 KiB ( 57.8 KiB unpacked)
Retrieving: xdg-desktop-portal-lang-1.6.0-lp152.3.3.noarch.rpm …[done]
Retrieving package xdg-desktop-portal-kde-5.18.5-lp152.1.3.x86_64
(6/11), 182.8 KiB (606.0 KiB unpacked)
Retrieving: xdg-desktop-portal-kde-5.18.5-lp152.1.3.x86_64.rpm …[done]
Retrieving package xdg-desktop-portal-gtk-1.6.0-lp152.1.3.x86_64
(7/11), 165.5 KiB (751.4 KiB unpacked)
Retrieving: xdg-desktop-portal-gtk-1.6.0-lp152.1.3.x86_64.rpm …[done]
Retrieving package gnome-desktop-lang-3.34.4-lp152.1.4.noarch
(8/11), 362.6 KiB ( 1.9 MiB unpacked)
Retrieving: gnome-desktop-lang-3.34.4-lp152.1.4.noarch.rpm …[done]
Retrieving package xdg-desktop-portal-kde-lang-5.18.5-lp152.1.3.noarch
(9/11), 53.6 KiB (102.2 KiB unpacked)
Retrieving: xdg-desktop-portal-kde-lang-5.18.5-lp152.1.3.noarch.rpm …[done]
Retrieving package xdg-desktop-portal-gtk-lang-1.6.0-lp152.1.3.noarch
(10/11), 31.5 KiB ( 69.3 KiB unpacked)
Retrieving: xdg-desktop-portal-gtk-lang-1.6.0-lp152.1.3.noarch.rpm …[done]
Retrieving package snapd-2.46-lp152.1.1.x86_64 (11/11), 13.7 MiB ( 63.7 MiB unpacked)
Retrieving: snapd-2.46-lp152.1.1.x86_64.rpm …[done (8.6 MiB/s)]

Checking for file conflicts: …[done]
( 1/11) Installing: libgnome-desktop-3-18-3.34.4-lp152.1.4.x86_64 …[done]
( 2/11) Installing: squashfs-4.3-lp152.3.6.x86_64 …[done]
( 3/11) Installing: xdg-desktop-portal-1.6.0-lp152.3.3.x86_64 …[done]
( 4/11) Installing: libgnome-desktop-3_0-common-3.34.4-lp152.1.4.x86_64 …[done]
( 5/11) Installing: xdg-desktop-portal-lang-1.6.0-lp152.3.3.noarch …[done]
( 6/11) Installing: xdg-desktop-portal-kde-5.18.5-lp152.1.3.x86_64 …[done]
( 7/11) Installing: xdg-desktop-portal-gtk-1.6.0-lp152.1.3.x86_64 …[done]
( 8/11) Installing: gnome-desktop-lang-3.34.4-lp152.1.4.noarch …[done]
( 9/11) Installing: xdg-desktop-portal-kde-lang-5.18.5-lp152.1.3.noarch …[done]
(10/11) Installing: xdg-desktop-portal-gtk-lang-1.6.0-lp152.1.3.noarch …[done]
(11/11) Installing: snapd-2.46-lp152.1.1.x86_64 …[done]
Additional rpm output:
Please reboot, logout/login or source /etc/profile to have /snap/bin added to PATH.
On a Tumbleweed system you need to run: systemctl enable snapd.apparmor.service

syds@localhost:~>

RESTART DONE

syds@localhost:~> sudo systemctl enable --now snapd
[sudo] password for root:
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.service → /usr/lib/systemd/system/snapd.service.
syds@localhost:~> sudo snap install zerot
zerotier-one zerotrustaccessclient
syds@localhost:~> sudo snap install zerotier-one
2020-09-25T09:20:53+02:00 INFO Waiting for automatic snapd restart…
zerotier-one 1.4.6 from Lance Hartung (lh) installed
syds@localhost:~> sudo snap connect zerotier-one:network-control o
error: snap “o” has no “network-control” interface slots
syds@localhost:~> sudo snap connect zerotier-one:network-control
syds@localhost:~> sudo zerotier-one.zerotier-cli status
sudo: zerotier-one.zerotier-cli: command not found
syds@localhost:~>

After installing libstdc++6 (version: 9.3.1+git1296-lp152.2.3.1) zypper still gives an error that libstdc++ needs to be installed. I can choose to not install or break the install. When i go ahead an install without the depency it does install, but zerotier does not work

I also get the following additional rpm output:
zerotier-one:x:461:100::/var/lib/zerotier-one:/sbin/nologin

No idea what that means…

This topic was automatically closed after 14 days. New replies are no longer allowed.