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

Installation on Linux Mint 22 fails

Open Itja opened this issue 3 months ago • 5 comments

I saw #76 and that there was something changed in response to it ( #74 ) , but it still fails for me.

This error still happened for me with a fresh Linux Mint 22 I downloaded and installed yesterday.

Running curl -s https://install.zerotier.com | sudo bash gives me

*** 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
Hit:1 http://ftp.uni-mainz.de/ubuntu noble InRelease
Get:2 http://ftp.uni-mainz.de/ubuntu noble-updates InRelease [126 kB]                                                                                                     
Ign:3 http://linux-mint.froonix.org zara InRelease                                                                                                                                                                
Get:4 https://repo.steampowered.com/steam stable InRelease [3.622 B]                                                                                                     
Hit:5 http://linux-mint.froonix.org zara Release                                                                                                                                      
Get:6 http://ftp.uni-mainz.de/ubuntu noble-backports InRelease [126 kB]                                                                            
Hit:8 http://security.ubuntu.com/ubuntu noble-security InRelease                               
Get:9 http://ftp.uni-mainz.de/ubuntu noble-updates/main amd64 Components [175 kB]
Get:10 http://ftp.uni-mainz.de/ubuntu noble-updates/restricted amd64 Components [212 B]                      
Get:11 http://ftp.uni-mainz.de/ubuntu noble-updates/universe amd64 Components [377 kB]                                        
Get:12 http://ftp.uni-mainz.de/ubuntu noble-updates/multiverse amd64 Components [940 B]                                          
Get:13 http://ftp.uni-mainz.de/ubuntu noble-backports/main amd64 Components [7.060 B]
Get:14 http://ftp.uni-mainz.de/ubuntu noble-backports/restricted amd64 Components [216 B]                                         
Get:15 http://ftp.uni-mainz.de/ubuntu noble-backports/universe amd64 Components [19,2 kB]                                      
Get:16 http://ftp.uni-mainz.de/ubuntu noble-backports/multiverse amd64 Components [212 B]                                        
Hit:17 https://packages.microsoft.com/repos/code stable InRelease                                                              
Fetched 835 kB in 1s (817 kB/s)                         
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gpg is already the newest version (2.4.4-2ubuntu17.3).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

*** Installing zerotier-one package...
E: Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (Component)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (Component)
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

After removing the resulting zerotier.list, using curl -s https://raw.githubusercontent.com/zerotier/install.zerotier.com/3573e9c87522d0e459770df60ee424e92bcb9a68/htdocs/install.sh | sudo bash from #76, I get

*** 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
Ign:1 http://linux-mint.froonix.org zara InRelease
Hit:2 http://linux-mint.froonix.org zara Release                                                                                             
Hit:3 http://ftp.uni-mainz.de/ubuntu noble InRelease                                                                                         
Hit:4 http://ftp.uni-mainz.de/ubuntu noble-updates InRelease                                                     
Hit:5 http://ftp.uni-mainz.de/ubuntu noble-backports InRelease                                                   
Hit:6 https://repo.steampowered.com/steam stable InRelease                                                        
Hit:8 http://security.ubuntu.com/ubuntu noble-security InRelease                                                  
Hit:9 https://packages.microsoft.com/repos/code stable InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gpg is already the newest version (2.4.4-2ubuntu17.3).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

*** Installing zerotier-one package...
Ign:1 http://linux-mint.froonix.org zara InRelease
Hit:2 http://linux-mint.froonix.org zara Release
Hit:3 http://security.ubuntu.com/ubuntu noble-security InRelease                                                                                                                          
Hit:5 http://ftp.uni-mainz.de/ubuntu noble InRelease                                                                                                                                      
Hit:6 http://ftp.uni-mainz.de/ubuntu noble-updates InRelease                                                                             
Hit:7 https://repo.steampowered.com/steam stable InRelease                                                         
Hit:8 http://ftp.uni-mainz.de/ubuntu noble-backports InRelease                                                                   
Hit:9 https://packages.microsoft.com/repos/code stable InRelease                                                                 
Ign:10 http://download.zerotier.com/debian/wilma wilma InRelease
Err:11 http://download.zerotier.com/debian/wilma wilma Release
  404  Not Found [IP: 104.20.42.91 80]
Reading package lists... Done
E: The repository 'http://download.zerotier.com/debian/wilma wilma Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package zerotier-one

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

What am I doing wrong?

Itja avatar Sep 14 '25 15:09 Itja

By the way, the content of zerotier.list with the unchanged installation command is

deb [signed-by=/usr/share/keyrings/zerotier-debian-package-key.gpg] http://download.zerotier.com/debian/  main

and for the specific script I tried below it is

deb [signed-by=/usr/share/keyrings/zerotier-debian-package-key.gpg] http://download.zerotier.com/debian/wilma wilma main

Itja avatar Sep 14 '25 15:09 Itja

I just changed the zerotier.list after running the failing curl -s https://install.zerotier.com | sudo bash manually to

deb [signed-by=/usr/share/keyrings/zerotier-debian-package-key.gpg] http://download.zerotier.com/debian/wilma wilma main

Afterwards I was able to install zerotier-one via apt-get. Which makes no sense, as it is the same as the line from the second command. Was download.zerotier.com down spuriously today?

Itja avatar Sep 14 '25 15:09 Itja

well, you're not alone..

defrektif avatar Sep 14 '25 18:09 defrektif

Using Ubuntu codename works for me. I am using noble since Linux Mint 22.x is based on Ubuntu 24.04.

deb [signed-by=/usr/share/keyrings/zerotier-debian-package-key.gpg] http://download.zerotier.com/debian/noble noble main

AheadAlot avatar Sep 16 '25 03:09 AheadAlot

Had the same issue on Mint 22.2 but used the snap package as a workaround and it worked for me.

Keep in mind that from Linux Mint 20 onwards Snap is blocked so I had to unblock it.

drittuper avatar Oct 21 '25 10:10 drittuper