install.zerotier.com icon indicating copy to clipboard operation
install.zerotier.com copied to clipboard

Zerotier does not install properly on Linux Mint 22 (Wilma)

Open CrudeWax opened this issue 1 year ago • 5 comments

I would really appreciate a .deb installer!

Currently zerotier creates a malformed .list file which breaks apt cache and doesn't install a package

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

*** Detected Linux Mint, creating /etc/apt/sources.list.d/zerotier.list
E: Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (URI parse)
E: The list of sources could not be read.

*** Installing zerotier-one package...
E: Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (URI parse)
E: The list of sources could not be read.

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

/etc/os-release contents:

NAME="Linux Mint"
VERSION="22 (Wilma)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 22"
VERSION_ID="22"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=wilma
UBUNTU_CODENAME=noble

CrudeWax avatar Aug 03 '24 01:08 CrudeWax

I've same issue

Trymeagain avatar Aug 06 '24 03:08 Trymeagain

I have an open PR (#74) that adds LM22 support.

Until it's merged, you can use: curl -s https://raw.githubusercontent.com/zerotier/install.zerotier.com/3573e9c87522d0e459770df60ee424e92bcb9a68/htdocs/install.sh | sudo bash

jeremiah-k avatar Aug 06 '24 14:08 jeremiah-k

Just tried this code @jeremiah-k but ufortunately not permitting install :

bash: install.zerotier.com/3573e9c87522d0e459770df60ee424e92bcb9a68/htdocs/install.sh: No such file or directory

This codeblock should work better:

curl -s https://raw.githubusercontent.com/zerotier/install.zerotier.com/3573e9c87522d0e459770df60ee424e92bcb9a68/htdocs/install.sh | sudo bash

Make sure you get the whole string, there's a copy button on the right side of the codeblock.

jeremiah-k avatar Aug 09 '24 16:08 jeremiah-k

This codeblock should work better:

Thank for that, I was hot on your heels for finding the correct URI. Installation successuful.

Your patch was also tested on a VM and fixes the problem by correctly mapping to Ubuntu Noble. Great stuff!

I have provided a review and approval so it can be merged and released.

Squelch avatar Aug 28 '24 13:08 Squelch

Out of scope question moved to new issue Just a query - I see that the source and release files have been deployed, but the link https://install.zerotier.com/ on Github's Code page (rh margin), and the ZeroTier Downloads curl are still providing an unchanged script.

Is https://install.zerotier.com/ referencing the Master branch and not Main?

This will apply to all distros, not Mint specifically, so while relevent, it's out of scope here. New issue required?

Squelch avatar Aug 29 '24 13:08 Squelch

should be merged

laduke avatar Feb 07 '25 18:02 laduke