Error on Netgear ReadyNAS registration

Hi,

I tried to register Netgear ReadyNAS model RN102. Unfortunately, I am not familiar with linux, but I suspect that the linked repository is broken. Where and how should this be corrected? Thanks in advance. Best wishes:

Laszlo

See the error message as follows:

login as: root
root@192.168.0.150’s password:

Welcome to ReadyNASOS 6.10.8

Last login: Fri Jun 2 18:57:32 2023 from z230-pc
root@nas-35-4C-20:~# R3_REGISTRATION_CODE=“7XXXXXXX” sh -c “$(curl -L https://downloads.remote.it/remoteit/install_agent.sh)”
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13372 100 13372 0 0 14775 0 --:–:-- --:–:-- --:–:-- 14775
licensekey: 769BE269-9F18-517A-B8BA-51AC69E12373
Creating registration file

  • Distribution: debian

  • OS: Debian

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
Reading package lists… Error!
E: Sub-process Popen returned an error code (2)
E: Encountered a section with no Package: header
E: Problem with MergeList
E: The package lists or status file could not be parsed or opened.
root@nas-35-4C-20:~# login as: root
[IP: 199.232.18.132 80]

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
Reading package lists… Error!
E: Sub-process Popen returned an error code (2)
E: Encountered a section with no Package: header
E: Problem with MergeList /tmp/remoteit.deb
E: The package lists or status file could not be parsed or opened.

The problem you are having is with the package manager on your device. You should check to see if there are suggestions for your NAS. There are general posts on the internet for Linux, but I am not sure if your NAS has a Netgear customized Linux OS.

Thank you, I will keep an eye on it.

1 Like

You may want to visit Netgear support and see if they can provide an answer and/or search for an answer of the problem “E: Sub-process Popen returned an error code (2)” which is the general problem happening in the package manager.

Hi, Thank you for your suggestion. Due to the time difference, I just looked it up. I’m looking for a solution to replace the ReadyCloud application that Netgear discontinued on July 1 with another solution. As with remote.it. I have not been able to install Zerotier as suggested in the forums due to incorrect links in Debian Jessie /etc/apt/sources.list. Finally, I googled the correct sources.list and found a solution to get Zerotier to work correctly, but with the same sources.list remote.it does not work (sorry, but as a new user I cannot upload a file):

The following NEW packages will be installed:
jq
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 97.4 kB of archives.
After this operation, 242 kB of additional disk space will be used.
Get:1 Index of /debian-archive/debian/ jessie/main armel jq armel 1.4-2.1+deb8u1 [97.4 kB]
Fetched 97.4 kB in 0s (158 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package jq.
dpkg: warning: files list file for package ‘libclamav9:armel’ missing; assuming package has no files currently installed
(Reading database … 15180 files and directories currently installed.)
Preparing to unpack …/jq_1.4-2.1+deb8u1_armel.deb …
Unpacking jq (1.4-2.1+deb8u1) …
Setting up jq (1.4-2.1+deb8u1) …

  • Installing the remoteit Agent package for armel

command: curl Remote.It Download --output /tmp/remoteit.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
Reading package lists… Error!
E: Sub-process Popen returned an error code (2)
E: Encountered a section with no Package: header
E: Problem with MergeList /tmp/remoteit.deb
E: The package lists or status file could not be parsed or opened.
root@nas-35-4C-20:~#

If you have time and have any suggestions, thank you in advance. I am open to further experimentation, best case I can choose between the two solutions. Best regards:
Laszlo

The first thing you probably need is jq 1.6. You can look at downloading it here: Debian -- Package Download Selection -- jq_1.6-2.1_armel.deb. read that page though on how to setup the repository and use apt or apt-get to install it.

Next you might need to download the correct remoteit package for your architecture. This looks to be a debian jessie armel system. Given that you might try the https://downloads.remote.it/remoteit/v4.17.12/remoteit-4.17.12.armel.rpi.deb.

So something like this:

curl http://ftp.us.debian.org/debian/pool/main/j/jq/jq_1.6-2.1_armel.deb --output ./jq_1.6-2.1_armel.deb
apt install ./jq_1.6-2.1_armel.deb

curl https://downloads.remote.it/remoteit/v4.17.12/remoteit-4.17.12.armel.rpi.deb --ouput ./remoteit-4.17.12.armel.rpi.deb
apt install ./remoteit-4.17.12.armel.rpi.deb

I haven’t tried this as I don’t have a ReadyNAS on jessie but it is just a simple matter of downloading the right versions of these files and installing them.

Hope this helps.

Thank you for the new information. I will try it.

Sorry, but I was only able to try the suggested steps today. If I understand correctly, a module is missing:
Welcome to ReadyNASOS 6.10.8

Last login: Wed Jun 14 19:56:27 2023 from z230-pc
root@nas-35-4C-20:~# curl http://ftp.us.debian.org/debian/pool/main/j/jq/jq_1.6-2.1_armel.deb --output ./jq_1.6-2.1_armel.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 64724 100 64724 0 0 71915 0 --:–:-- --:–:-- --:–:-- 71915
root@nas-35-4C-20:~# apt install ./jq_1.6-2.1_armel.deb
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘jq’ instead of ‘./jq_1.6-2.1_armel.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:
jq : Depends: libjq1 (= 1.6-2.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@nas-35-4C-20:~#

Thank you for your help:
Laszlo

The jq install is failing because it can’t find the “libjq1 (= 1.6-2.1)”. You can try to download the libjq1 installation package and install that first.

curl http://ftp.us.debian.org/debian/pool/main/j/jq/libjq1_1.6-2.1_armel.deb --output libjq1_1.6-2.1_armel.deb
apt install libjq1_1.6-2.1_armel.deb

This might do the same thing though and spit out some dependencies that it needs that you don’t have. It is worth a try though. Run that command before all the other commands I gave you.

You could also try adding the following line to your /etc/apt/sources.list file:

deb ftp.us.debian.org/debian sid main

Then run:

apt update
apt install jq

That should get you jq 1.6 and all its dependencies as well.

It’s OK, clear for me now. Thank you much.

“robo via Remote.It Forum” notifications@remote.discoursemail.com ezt írta (2023. jún. 14. 21:24):

1 Like

Now there is a new situation:
root@nas-35-4C-20:/# curl http://ftp.us.debian.org/debian/pool/main/j/jq/libjq1_1.6-2.1_armel.deb --output libjq1_1.6-2.1_armel.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 126k 100 126k 0 0 55008 0 0:00:02 0:00:02 --:–:-- 55032
root@nas-35-4C-20:/# apt install ./libjq1_1.6-2.1_armel.deb
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘libjq1’ instead of ‘./libjq1_1.6-2.1_armel.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:
libjq1 : Depends: libc6 (>= 2.29)
Depends: libonig5 (>= 6.8.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
root@nas-35-4C-20:/#

Yeah, your best bet is to go with the adding the repo to your sources.list as mentioned. Repeated below for your reference.


You could also try adding the following line to your /etc/apt/sources.list file:

deb ftp.us.debian.org/debian sid main

Then run:

apt update
apt install jq

I thought about this and did it before I ran the cli.

Did you ever get this working? If not there might be another option to use remote.it to access your ReadyNAS if you have another computer on your network that can access the ssh port on the NAS. You would then install Remote.It on the computer (ex: windows, mac, linux, raspberry pi) and create a service that jumps from the computer to the ReadyNAS using SSH. This way when you are away from your ReadyNAS you can connect via ssh through remote.it. The connection would like this:

ssh client → (laptop with remoteit intalled or remoteit site) → computer → readyNAS

As long as the computer is always on and can reach the ReadyNAS.

Yes, that’s a good idea. Thank you.

“robo via Remote.It Forum” notifications@remote.discoursemail.com ezt írta (2023. jún. 30. 23:39):