Linux Mint 20.3 Installation error

Greetings All,

I wanted to check if this is necessitates a bug report or not.

I’m running Mint 20.3, and went to install ZT on my laptop. When the script runs (which I do as root, hence the lack of sudo), I get this output:

$ curl -s https://install.zerotier.com | bash

*** 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 (18+)

*** Supported architectures vary by OS / distribution. We try to support
*** every system architecture supported by the target.

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

*** Detecting Linux Distribution

*** Found Linux Mint, creating /etc/apt/sources.list.d/zerotier.list
OK

When the script goes to install, I receive this error:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 zerotier-one : Depends: libssl1.0.0 (>= 1.0.2~beta3) but it is not installable
E: Unable to correct problems, you have held broken 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

So I confirmed I have libssl installed:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
libssl1.1 is already the newest version (1.1.1f-1ubuntu2.10).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

So as I have libssl1.1 installed, I got confused. So then I checked my zerotier.list file:

$ cat /etc/apt/sources.list.d/zerotier.list
deb http://download.zerotier.com/debian/xenial xenial main

Based on that, I modified the file to be focal instead of xenial, and that solved the issue.

Curious for thoughts if this warrants a bug report in GitHub, or not.

Thanks!

1 Like

thanks good job its working for me

Hi Mike! Thank you for reporting this. So what is the next step after updating the zerotier.list file to focal?

So my /etc/apt/sources.list.d/zerotier.list looks like this:

deb http://download.zerotier.com/debian/focal focal main

Once that is set, just a basic sudo apt update and sudo apt install zerotier-one

1 Like

I have the exact issue with a fresh Mint 20.3. After renaming the source to be focal I get farther, but still have:

The following packages have unmet dependencies:
 zerotier-one : Depends: libssl1.0.0 (>= 1.0.2~beta3) but it is not installable
E: Unable to correct problems, you have held broken packages

the version installed of libssl is:

$ apt show libssl1.1
Package: libssl1.1
Version: 1.1.1f-1ubuntu2.12
Priority: important
Section: libs
Source: openssl
Origin: Ubuntu

Did you make sure you were fully up-to-date with apt?

I tend to run a full dist-upgrade when I do updates.

My current libssl is:
Version: 1.1.1f-1ubuntu2.12

Edit: Oops, I realize were said the same thing.
Did you try: apt --fix-broken install
to see if it would fix any dependency issues?

Thanks for the reply!

Yes, I tried to --fix-broken… but here is the output…

sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

also dist-upgrade still yields zero packages to install. Looks like you have the exact libssl as I do. hmmm…

Don’t know. Trying to wean off of ubuntu, and thought mint was a good idea. Maybe not. :slight_smile:

this is what worked finally: (sudo aptitude install zerotier-one)

sudo aptitude install zerotier-one
The following NEW packages will be installed:
  zerotier-one{b} 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,105 kB of archives. After unpacking 10.9 MB will be used.
The following packages have unmet dependencies:
 zerotier-one : Depends: libssl1.0.0 (>= 1.0.2~beta3) which is a virtual package and is not provided by any available package

The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     zerotier-one [Not Installed]                       



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Install the following packages:
1)     zerotier-one [1.2.0 (xenial)]



Accept this solution? [Y/n/q/?] Y
The following NEW packages will be installed:
  zerotier-one 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 579 kB of archives. After unpacking 1,963 kB will be used.
Do you want to continue? [Y/n/?] y
Get: 1 http://download.zerotier.com/debian/xenial xenial/main amd64 zerotier-one amd64 1.2.0 [579 kB]
Fetched 579 kB in 0s (1,253 kB/s)    
Selecting previously unselected package zerotier-one.
(Reading database ... 313943 files and directories currently installed.)
Preparing to unpack .../zerotier-one_1.2.0_amd64.deb ...
Unpacking zerotier-one (1.2.0) ...
Setting up zerotier-one (1.2.0) ...
Adding system user `zerotier-one' (UID 127) ...
Adding new group `zerotier-one' (GID 136) ...
Adding new user `zerotier-one' (UID 127) with group `zerotier-one' ...
Not creating home directory `/var/lib/zerotier-one'.
Created symlink /etc/systemd/system/multi-user.target.wants/zerotier-one.service → /lib/systemd/system/zerotier-one.service.
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.15) ...
                                         
Current status: 1 (+1) upgradable.

First, glad it’s working for you. :slight_smile:
Secondly, your sources file looks like it’s still xenial, which may be part of the issue you were having.

This line:
Get: 1 http://download.zerotier.com/debian/xenial xenial/main amd64 zerotier-one amd64 1.2.0 [579 kB]

For Mint 20.x I would change your apt source file to reflect focal instead of xenial. That being said, maybe not fix what is currently not broken. :slight_smile:

Changing the sources to focal solved it for me on Linux Mint 20.2.
Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.