NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Sandshark
Jan 25, 2023Sensei
ZeroTier as a ReadyCloud replacement.
Well, a big part of a replacement, anyway. With ReadyCloud going away, a lot of folks are going to be looking for a replacement in order to have remote access to their ReadyNAS, I have been using...
Sandshark
Jul 26, 2023Sensei
I have seen that, but it's usually because you mistyped the file name or something similar. What it's doing is seeing an entry in /etc/apt/sources.list.d/zerotier.list (which was put there when you installed the old version) for the ZeroTier repository and using it to determine the update, not what you put on the command line. So it's trying to install the latest version, which does have dependency issues on a ReadyNAS. If you are sure you aren't mis-typing the name, try commenting out "deb http://download.zerotier.com/debian/jessie jessie main" in /etc/apt/sources.list.d/zerotier.list by putting a hashtag (#) in front of it, then run apt-get update again and try the install again.
Sandshark
Jul 26, 2023Sensei
That did seem to work for me, at least after a restart. I still get Note, selecting 'zerotier-one' instead of './zerotier-one_1.8.7_amd64.deb', but it says that's the latest, so it's not looking at the repository. If it was looking at the repository, it would try to install 1.10.6, which would fail due to dependencies.
If that doesn't work, I think this should, but I can't test it 100% because I don't have another ReadyNAS that currently needs an update. But when I try to re-install the same version over itself, it behaves the same as with the repository commented out.
Anyway, create /etc/apt/preferences.d/zerotier with the following content:
Package: zerotier
Pin: origin ""
Pin-Priority: 999
I did an apt-get update afterward, not sure if it was necessary.
And let us know if you needed this additional step and if it works.
If somebody knows another way, please chime in.
- DuckSoupNAS1Jul 26, 2023Aspirant
It was worth a try:
root@mynas:/etc/apt/preferences.d# cat zerotier
Package: zerotier
Pin: origin ""
Pin-Priority: 999Did an apt-get update
root@mynas:/home/admin# apt-get install ./zerotier-one_1.8.4_armhf.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'zerotier-one:armhf' instead of './zerotier-one_1.8.4_armhf.deb'
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:armhf : Depends: libstdc++6:armhf but it is not going to be installed
E: Unable to correct problems, you have held broken packages. - SandsharkJul 27, 2023Sensei
OK, so this is odd. I just downgraded my 212 from 1.8.4 to 1.8.3 and then upgraded back to 1.8.4 and, while it gave me that warning, it did what I asked without needing to do anything else. And apt list libstdc++6 says I only have the armel version, not the armhf one:
root@RN212A:/data/Documents# apt list libstdc++6 Listing... Done libstdc++6/now 4.9.2-10+deb8u2 armel [installed,local]It does seem to imply I installed it locally. I may have in my experiments to get the install to work before I discovered all (well, I guess not all) of the "secrets".
And if I try to install anything beyond 1.8.4, it complains about openssl:armhf, not libstdc++6:armhf.
At this point, I just can't be of any more help. The version you have still works, so you can stick with it until someone provides a solution.
I have seen one other possible solution through my Googling, but I'm reluctant to tell you to try it. That's to install the package with dpkg, which doesn't automatically get the dependencies, then fix the dependencies with apt-get install -f. I'm not sure where that will leave you if there are needed dependencies and apt-get doesn't fix them.
- tigertenJul 28, 2023Luminary
I just tried with my RN104. The GUI install still works perfectly fine with 1.8.4 armhf.
If you do want to do it in command line:
try using dpkg instead.
1. move the zerotier-one_1.8.4_armhf.deb to /tmp folder
2. cd tmp
3. run this: dpkg -i zerotier-one_1.8.4_armhf.deb
4 check status
- DuckSoupNAS1Jul 28, 2023Aspirant
Thanks for all your help!
- DuckSoupNAS1Jul 28, 2023Aspirant
Same missing dependency...
root@mynas:/home/admin/tmp# dpkg -i zerotier-one_1.8.4_armhf.deb
dpkg: warning: files list file for package 'libclamav9:armel' missing; assuming package has no files currently installed
(Reading database ... 20962 files and directories currently installed.)
Preparing to unpack zerotier-one_1.8.4_armhf.deb ...
Unpacking zerotier-one (1.8.4) over (1.4.0) ...
dpkg: dependency problems prevent configuration of zerotier-one:
zerotier-one depends on libstdc++6.dpkg: error processing package zerotier-one (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (230-7~bpo8+2.netgear3) ...
Errors were encountered while processing:
zerotier-one - SandsharkJul 28, 2023Sensei
You can try apt-get install -f and see if it fixes the dependency, but I suspect it won't.
It appears that I may have installed libstdc++-arm-none-eabi-newlib_4.9.2-10+7~bpo8+1_all.deb manually at some point as I tried to determine the latest release I could install. You can get it from https://archive.kernel.org/debian-archive/debian/pool/main/libs/libstdc%2B%2B-arm-none-eabi/
- tigertenJul 28, 2023Luminary
out of curiosity, I don't understand why you are not giving web GUI install a try. It is a lot easier.
- DuckSoupNAS1Jul 28, 2023AspirantI was able to load 1.4.0 through the GUI but all later versions fail without any detailed error messages.
- tigertenJul 28, 2023Luminary1.8.4
Web install and cli install behave differently. I don’t know why and how. I had better chance of success with web install. The dependencies it needs during cli install are not required if doing it via the gui.
You may have to reset your system. Or reinstall the OS. - dhlJul 28, 2023Luminary
tigerten wrote:
1.8.4
Web install and cli install behave differently. I don’t know why and how. I had better chance of success with web install. The dependencies it needs during cli install are not required if doing it via the gui.
You may have to reset your system. Or reinstall the OS.Hmmm, that's odd. 1.8.4 failed for me after a fresh install of OS 6.10.9. I'll try CLI again after running apt-get update. This definitely feels like voodoo...
- tigertenJul 28, 2023Luminary
try install this first:
https://archive.kernel.org/debian-archive/debian/pool/main/i/iproute2/iproute2_3.16.0-2_armel.deb
- StephenBJul 29, 2023Guru - Experienced User
fwiw, 1.8.4 installs on my rn102 (running 6.10.9)
root@RN102:/data/Test/ZeroTier# apt-get install ./zerotier-one_1.8.4_armhf.deb Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'zerotier-one:armhf' instead of './zerotier-one_1.8.4_armhf.deb' The following additional packages will be installed: gcc-4.9-base:armhf iproute2 libc6:armhf libgcc1:armhf libstdc++6:armhf Suggested packages: iproute2-doc glibc-doc:armhf locales:armhf Recommended packages: libatm1 The following NEW packages will be installed: gcc-4.9-base:armhf iproute2 libc6:armhf libgcc1:armhf libstdc++6:armhf zerotier-one:armhf 0 upgraded, 6 newly installed, 0 to remove and 33 not upgraded. Need to get 4,788 kB/5,582 kB of archives. After this operation, 13.4 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.kernel.org/debian-archive/debian jessie/main armel iproute2 armel 3.16.0-2 [384 kB] Get:2 http://archive.debian.org/debian-security jessie/updates/main armhf gcc-4.9-base armhf 4.9.2-10+deb8u2 [160 kB] Get:3 /data/Test/ZeroTier/zerotier-one_1.8.4_armhf.deb zerotier-one armhf 1.8.4 [794 kB] Get:4 http://archive.debian.org/debian-security jessie/updates/main armhf libgcc1 armhf 1:4.9.2-10+deb8u2 [39.8 kB] Get:5 http://archive.debian.org/debian-security jessie/updates/main armhf libstdc++6 armhf 4.9.2-10+deb8u2 [241 kB] Get:6 https://apt.readynas.com/packages/readynasos 6.10.9/main armhf libc6 armhf 2.19-18+deb8u10.netgear1 [3,963 kB] Fetched 4,788 kB in 2s (1,644 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package gcc-4.9-base:armhf. dpkg: warning: files list file for package 'libclamav9:armel' missing; assuming package has no files currently installed(Reading database ... 18788 files and directories currently installed.) Preparing to unpack .../gcc-4.9-base_4.9.2-10+deb8u2_armhf.deb ... Unpacking gcc-4.9-base:armhf (4.9.2-10+deb8u2) ... Selecting previously unselected package libc6:armhf. Preparing to unpack .../libc6_2.19-18+deb8u10.netgear1_armhf.deb ... Unpacking libc6:armhf (2.19-18+deb8u10.netgear1) ... Selecting previously unselected package libgcc1:armhf. Preparing to unpack .../libgcc1_1%3a4.9.2-10+deb8u2_armhf.deb ... Unpacking libgcc1:armhf (1:4.9.2-10+deb8u2) ... Selecting previously unselected package libstdc++6:armhf. Preparing to unpack .../libstdc++6_4.9.2-10+deb8u2_armhf.deb ... Unpacking libstdc++6:armhf (4.9.2-10+deb8u2) ... Selecting previously unselected package iproute2. Preparing to unpack .../iproute2_3.16.0-2_armel.deb ... Unpacking iproute2 (3.16.0-2) ... Selecting previously unselected package zerotier-one. Preparing to unpack .../zerotier-one_1.8.4_armhf.deb ... Unpacking zerotier-one (1.8.4) ... Processing triggers for systemd (230-7~bpo8+2.netgear3) ... Setting up gcc-4.9-base:armhf (4.9.2-10+deb8u2) ... Setting up iproute2 (3.16.0-2) ... Setting up libc6:armhf (2.19-18+deb8u10.netgear1) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Setting up libgcc1:armhf (1:4.9.2-10+deb8u2) ... Setting up libstdc++6:armhf (4.9.2-10+deb8u2) ... Setting up zerotier-one (1.8.4) ... Processing triggers for libc-bin (2.19-18+deb8u10.netgear1) ... Processing triggers for systemd (230-7~bpo8+2.netgear3) ... N: Can't drop privileges for downloading as file '/data/Test/ZeroTier/zerotier-one_1.8.4_armhf.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) - SandsharkJul 30, 2023Sensei
So it appears that folks are not reading the entire thread regarding the repository changes, especially my very recent summary where I added http://archive.debian.org/debian-security per one of the other contributor's recommendation. That's where your install found the libcstd++6.
- StephenBJul 30, 2023Guru - Experienced User
Sandshark wrote:
So it appears that folks are not reading the entire thread regarding the repository changes, especially my very recent summary where I added http://archive.debian.org/debian-security per one of the other contributor's recommendation. That's where your install found the libcstd++6.
My install was done with your sources.list and apt.conf, so it did include this repo.
BTW, I was able to install the newer 1.8.7 on arm after this. The trick is to run
apt-get install openssl:armhbefore you install zerotier.
- DuckSoupNAS1Jul 30, 2023Aspirant
Feeling more and more a newbie... where do you get the source for openssl:armh?
- DuckSoupNAS1Jul 30, 2023Aspirant
Following suggestions in the post...
root@mynas:/home/admin# apt-get install ./libstdc++-arm-none-eabi-newlib_4.9.2-10+7~bpo8+1_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libstdc++-arm-none-eabi-newlib' instead of './libstdc++-arm-none-eabi-newlib_4.9.2-10+7~bpo8+1_all.deb'
The following additional packages will be installed:
libnewlib-arm-none-eabi libnewlib-dev
Suggested packages:
libnewlib-doc gcc-arm-none-eabi
Recommended packages:
gcc-arm-none-eabi binutils-arm-none-eabi
The following NEW packages will be installed:
libnewlib-arm-none-eabi libnewlib-dev libstdc++-arm-none-eabi-newlib
0 upgraded, 3 newly installed, 0 to remove and 19 not upgraded.
Need to get 47.3 MB of archives.
After this operation, 351 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.kernel.org/debian-archive/debian jessie/main armel libnewlib-dev all 2.1.0+git20140818.1a8323b-2 [224 kB]
Get:2 http://archive.kernel.org/debian-archive/debian jessie/main armel libnewlib-arm-none-eabi all 2.1.0+git20140818.1a8323b-2 [13.3 MB]
Get:3 http://archive.kernel.org/debian-archive/debian jessie-backports/main armel libstdc++-arm-none-eabi-newlib all 4.9.2-10+7~bpo8+1 [33.8 MB]
Fetched 47.3 MB in 7s (6,332 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libnewlib-dev.
dpkg: warning: files list file for package 'libclamav9:armel' missing; assuming package has no files currently installed
(Reading database ... 20962 files and directories currently installed.)
Preparing to unpack .../libnewlib-dev_2.1.0+git20140818.1a8323b-2_all.deb ...
Unpacking libnewlib-dev (2.1.0+git20140818.1a8323b-2) ...
Selecting previously unselected package libnewlib-arm-none-eabi.
Preparing to unpack .../libnewlib-arm-none-eabi_2.1.0+git20140818.1a8323b-2_all.deb ...
Unpacking libnewlib-arm-none-eabi (2.1.0+git20140818.1a8323b-2) ...
Selecting previously unselected package libstdc++-arm-none-eabi-newlib.
Preparing to unpack .../libstdc++-arm-none-eabi-newlib_4.9.2-10+7~bpo8+1_all.deb ...
Unpacking libstdc++-arm-none-eabi-newlib (4.9.2-10+7~bpo8+1) ...
Setting up libnewlib-dev (2.1.0+git20140818.1a8323b-2) ...
Setting up libnewlib-arm-none-eabi (2.1.0+git20140818.1a8323b-2) ...
Setting up libstdc++-arm-none-eabi-newlib (4.9.2-10+7~bpo8+1) ...Then performed apt-get update...
Then tried 1.8.4 again...
root@mynas:/home/admin# apt-get install ./zerotier-one_1.8.4_armhf.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'zerotier-one:armhf' instead of './zerotier-one_1.8.4_armhf.deb'
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:armhf : Depends: libstdc++6:armhf but it is not going to be installed
E: Unable to correct problems, you have held broken packages. - StephenBJul 31, 2023Guru - Experienced User
DuckSoupNAS1 wrote:
Feeling more and more a newbie... where do you get the source for openssl:armh?
I didn't. I just typed in the command as I posted it above. This was with Sandshark's apt.conf and sources.list placed in /etc/apt
Can you post the sources.list and apt.conf you are using?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!