zerotier / install.zerotier.com

Source for https://install.zerotier.com curl|bash installer
https://install.zerotier.com
BSD 3-Clause "New" or "Revised" License
58 stars 41 forks source link

Installation script doesn't work on OpenCloudOS Linux And I added `|| [ $ID == "opencloudos" ]` #61

Open Djs37 opened 2 weeks ago

Djs37 commented 2 weeks ago

I have added Installation Script || [ $ID == "opencloudos" ]

According to me, I found that OpenCloudOS 9 should be perfectly compatible with CentOS 8

sh install.zerotier.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 unknown yum-based repo, using el/7, creating /etc/yum.repos.d/zerotier.repo

*** Installing ZeroTier service package...
ZeroTier, Inc. RPM Release Repository                                                                                                                 9.6 kB/s | 3.0 kB     00:00    
Error: 
 Problem: cannot install the best candidate for the job
  - nothing provides libcrypto.so.10()(64bit) needed by zerotier-one-1.14.0-1.el7.x86_64 from zerotier
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) needed by zerotier-one-1.14.0-1.el7.x86_64 from zerotier
  - nothing provides libcrypto.so.10(OPENSSL_1.0.2)(64bit) needed by zerotier-one-1.14.0-1.el7.x86_64 from zerotier
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by zerotier-one-1.14.0-1.el7.x86_64 from zerotier
  - nothing provides libssl.so.10()(64bit) needed by zerotier-one-1.14.0-1.el7.x86_64 from zerotier
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by zerotier-one-1.14.0-1.el7.x86_64 from zerotier
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

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

cat /etc/os-release

NAME="OpenCloudOS"
VERSION="9.0"
ID="opencloudos"
ID_LIKE="opencloudos"
VERSION_ID="9.0"
PLATFORM_ID="platform:oc9"
PRETTY_NAME="OpenCloudOS 9.0"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:opencloudos:opencloudos:9"
HOME_URL="https://www.opencloudos.org/"
BUG_REPORT_URL="https://bugs.opencloudos.tech/"

Then I operated according to the error prompt

sudo yum install -y https://vault.centos.org/7.9.2009/os/x86_64/Packages/openssl-libs-1.0.2k-19.el7.x86_64.rpm

Last metadata expiration check: 0:04:33 ago on Wed 12 Jun 2024 11:40:01 AM CST.
openssl-libs-1.0.2k-19.el7.x86_64.rpm                                                                                                                  80 kB/s | 1.2 MB     00:15    
Error: 
 Problem: problem with installed package xmlrpc-c-1.54.05-5.oc9.x86_64
  - package xmlrpc-c-1.54.05-5.oc9.x86_64 from @System requires libcrypto.so.3()(64bit), but none of the providers can be installed
  - package xmlrpc-c-1.54.05-5.oc9.x86_64 from @System requires libcrypto.so.3(OPENSSL_3.0.0)(64bit), but none of the providers can be installed
  - package xmlrpc-c-1.54.05-5.oc9.x86_64 from @System requires libssl.so.3()(64bit), but none of the providers can be installed
  - package xmlrpc-c-1.54.05-5.oc9.x86_64 from @System requires libssl.so.3(OPENSSL_3.0.0)(64bit), but none of the providers can be installed
  - package xmlrpc-c-1.54.05-5.oc9.x86_64 from AppStream requires libcrypto.so.3()(64bit), but none of the providers can be installed
  - package xmlrpc-c-1.54.05-5.oc9.x86_64 from AppStream requires libcrypto.so.3(OPENSSL_3.0.0)(64bit), but none of the providers can be installed
  - package xmlrpc-c-1.54.05-5.oc9.x86_64 from AppStream requires libssl.so.3()(64bit), but none of the providers can be installed
  - package xmlrpc-c-1.54.05-5.oc9.x86_64 from AppStream requires libssl.so.3(OPENSSL_3.0.0)(64bit), but none of the providers can be installed
  - cannot install both openssl-libs-1:1.0.2k-19.el7.x86_64 from @commandline and openssl-libs-3.0.12-3.oc9.x86_64 from @System
  - cannot install both openssl-libs-1:1.0.2k-19.el7.x86_64 from @commandline and openssl-libs-3.0.12-7.oc9.x86_64 from BaseOS
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

It feels more and more problematic, I hope someone can know how to solve it, thank you very much.

Djs37 commented 2 weeks ago

elif [ $ID == "centos" ] || [ $ID == "rocky" ] || [ $ID == "almalinux" ] || [ $ID == "rhel" ] || [ $ID == "fedora" ] || [ $ID == "amzn" ] || [ $ID == "sangoma" ] || [ $ID == "ol" ] || [ $ID == "opencloudos" ]; then I added it here