unable to install zerotier

hey, so i'm trying to setup zerotier on my bazzite install, and when I run the install command, I get the following:
Found Fedora. creating /etc/yum.repos-d/zertier.repo

error: can´t create transaction lock on /usr/shape/rpm/.rpm/.lock (read only file system)
error: /tmp/zt-gpg-key: key 1 import failed

** installing zerotier service package...
bash: line 314: yum: command not found

***package installation failed
Found Fedora. creating /etc/yum.repos-d/zertier.repo

error: can´t create transaction lock on /usr/shape/rpm/.rpm/.lock (read only file system)
error: /tmp/zt-gpg-key: key 1 import failed

** installing zerotier service package...
bash: line 314: yum: command not found

***package installation failed
so my question is, is zerotier tryign to install yum and failing because the directory is read only, and if so how do I fix it OR Do I just need to install yum first
4 Replies
Kyle Gospo
Kyle Gospo14mo ago
replace yum with rpm-ostree their script doesn't know how to install on immutable fedora
endangeredAI
endangeredAIOP14mo ago
great, errr how do I do that? I´m new-ish to Linux via command line or do I need to modify the package? I´m installing using this command
curl -s https://install.zerotier.com | sudo bash
curl -s https://install.zerotier.com | sudo bash
or are you saying I should install rpm-ostree and the installer should work?
endangeredAI
endangeredAIOP14mo ago
@KyleGospo thanks for sending me in the right direction. I found this : https://github.com/zerotier/ZeroTierOne/issues/1338 Will try out and report back
GitHub
Can't install Zerotier One in Fedora Silverblue! · Issue #1338 · ze...
Required I am trying to install Zerotier in Fedora Silverblue What is actually happening? I can't install it in fedora silverblue Any screenshots that would help us out. Additional information ...
endangeredAI
endangeredAIOP14mo ago
update: I followed the instructions indicated by hannut, adn that seems to have worked. However when running rpm-ostree install zerotier-one I am hit with a GPG error
importing RPM package zerotier-one-1.12.2-1.fc37.x86_64 cannot be verified and repo zerotier is GPG enabled url goes here could not be verified.

SIGNATURE: NOT OK
importing RPM package zerotier-one-1.12.2-1.fc37.x86_64 cannot be verified and repo zerotier is GPG enabled url goes here could not be verified.

SIGNATURE: NOT OK
I ran this
curl -s 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg' | gpg --import
curl -s 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg' | gpg --import
Which seemed to install the GPG public key, but seems like i´m still getting the error, so i´m unsure what i´m doing wrong :S
Want results from more Discord servers?
Add your server