× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: How I got apt update and install to work (with Debian Jessie retired)

StephenB
Guru

Re: How I got apt update and install to work (with Debian Jessie retired)


@XtheUnknown wrote:

That didn't work for me - I found my OS partition (directory: var/spool/apt-mirror/mirror) filling up rapidly...

 

So, I've edited the apt-mirror script (line 103) to specify my desired save location in the base-path configuration variable, which is probably not the best way to do it (I'm not a linux expert), but it seems to work (201GB downloading as I write)...

 

 


 $base_path was already set to /data/apt-mirror - I don't recall doing that, perhaps I did.

 

 

Message 26 of 63
Sandshark
Sensei

Re: How I got apt update and install to work (with Debian Jessie retired)

All OS6 ARM units should be able to use ARMHF, which is 64-bit.  But not every package is available as ARMHF, so it falls back to ARMEL when it's not.

 

I never even got apt-mirror to run on my NAS.  But I am still on 6.9.6 on my NAS, so that could be it.  I've been reluctant to update to 6.10.x for fear some apps will stop working.

Message 27 of 63
StephenB
Guru

Re: How I got apt update and install to work (with Debian Jessie retired)


@Sandshark wrote:

All OS6 ARM units should be able to use ARMHF, which is 64-bit. 

 


Not convinced that is the case. The only packages Netgear has in their ARMHF repositories are "*_all.deb"  A lot of stuff is armel only (for instance, wget).

 

EDIT - looking again, I am seeing some armhf libraries

 


@Sandshark wrote:

 

I never even got apt-mirror to run on my NAS. 


What happened when you ran it?  

Message 28 of 63
XtheUnknown
Apprentice

Re: How I got apt update and install to work (with Debian Jessie retired)

Numpty question I know, but:

 

Having downloaded the repositories, how do I ensure that the OS knows they are there? My sources.list for example is still pointing at the internet...?

Message 29 of 63
StephenB
Guru

Re: How I got apt update and install to work (with Debian Jessie retired)


@XtheUnknown wrote:

My sources.list for example is still pointing at the internet...?


You'd have to change that.

Message 30 of 63
Gregsta
Aspirant

Re: How I got apt update and install to work (with Debian Jessie retired)

I followed the steps in the first message but see all these kind of errors. Why does apt-get attempt to install the deb8u1 version of these packages if deb8u2 is already installed?  This type of error is seen for most package installs. 
Looks like something is defaulting to deb8u2 while something else is defaulting to deb8u1 packages...

root@steammills:/data# apt-get install gcc-4.9
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
 gcc-4.9 : Depends: cpp-4.9 (= 4.9.2-10+deb8u1) but it is not going to be installed
           Depends: gcc-4.9-base (= 4.9.2-10+deb8u1) but 4.9.2-10+deb8u2 is to be installed
           Depends: libgcc-4.9-dev (= 4.9.2-10+deb8u1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

 

Message 31 of 63
eton
Luminary

Re: How I got apt update and install to work (with Debian Jessie retired)

In my previous post I forgot to add the sources I use. They are:

 

deb http://archive.debian.org/debian/ jessie main contrib non-free
deb http://archive.debian.org/debian-security jessie/updates main contrib non-free

 

In /etc/apt/sources.list

 

The backport sources mentioned by  @Sandshark might be better.

Message 32 of 63
phs989
Aspirant

Re: How I got apt update and install to work (with Debian Jessie retired)

Id love to do this change to my ReadyNAS.  Im actually trying to install Remote.it but cant due to the lack of jq on the debian platform and errors to upgrade. 

 

Im a total newbie when it comes to this but can use SSH and can connect to my ReadyNAS.  Can you help with some more detailed step by steps for me?  

Message 33 of 63
schumaku
Guru

Re: How I got apt update and install to work (with Debian Jessie retired)


@phs989 wrote:

Id love to do this change to my ReadyNAS.  Im actually trying to install Remote.it but cant due to the lack of jq on the debian platform and errors to upgrade.  


Start from the two files @Sandshark explained to modify resp. add back in April 2023 https://community.netgear.com/t5/Using-your-ReadyNAS-in-Business/How-I-got-apt-update-and-install-to... 

 

A little bit to vague on what "Remote" you are asking about....

Message 34 of 63
phs989
Aspirant

Re: How I got apt update and install to work (with Debian Jessie retired)

Managed to get the 2 files modified and added to the required folder.  Sorry youre right the use of remote was vague.  This is the service i am trying to set up https://www.remote.it/benefits to enable remote access to my ReadyNAS.  Im a basic user of this and mostly my NAS is used for local file sharing but sometimes i need to share with external sources too.  

I managed to run apt-update and it seemed to work but im getting errors when i try and install the remote.it package.  Ive sent the error to their support for help.  

Their support told me i needed jq 1.6 and when i checked it states i have jq 1.4-2.1 so i dont understand why this would be an issue? 

jq is already the newest version (1.4-2.1+deb8u1)


 

Message 35 of 63
StephenB
Guru

Re: How I got apt update and install to work (with Debian Jessie retired)


@phs989 wrote:

 

Their support told me i needed jq 1.6 and when i checked it states i have jq 1.4-2.1 so i dont understand why this would be an issue? 

 


jq 1.6 would be newer than 1.4-2.1. 

 

But it was apparently never backported to Debian 8 (Jessie), so I think you are out of luck.

 

 

Message 36 of 63
Sandshark
Sensei

Re: How I got apt update and install to work (with Debian Jessie retired)

OK, for those still struggling to follow the whole thread or having difficulty with VI or trying to use a Windows editor, here is a summary and quick solution:

 

This is my current /etc/apt/sources.list with firmware 6.10.9:

deb https://apt.readynas.com/packages/readynasos 6.10.9 updates apps main

# deb http://mirrors.kernel.org/debian jessie main
# deb http://security.debian.org/ jessie/updates main

deb [trusted=yes] http://archive.kernel.org/debian-archive/debian jessie main contrib non-free
deb [trusted=yes] http://archive.kernel.org/debian-archive/debian jessie-backports main contrib non-free
deb [trusted=yes] http://archive.debian.org/debian-security jessie/updates main non-free contrib

 

/etc/apt/apt.conf remains unchanged for my original post:

Get::AllowUnauthenticated true;
Acquire::Check-Valid-Until false;

 

Now, if you are having trouble getting them this done, here is a solution. Note that these files are from my personal DropBox, so may disappear after a few months.  You still need SSH, but don't have to edit anything.

 

https://www.dropbox.com/scl/fi/zoqxg8u1y0ztqjkfrvod7/sources.list?rlkey=5ouaymaz3ejn0ssc58ad8nfrk&dl... 

https://www.dropbox.com/scl/fi/25hs7nn12830vz9xk2phx/apt.conf?rlkey=maf95f9ncug9q09v4znm0kiwt&dl=0 

 

Put these somewhere on your NAS using SMB, the GUI, or whatever. Then, from SSH, you simply need to copy them from where you put them to their proper place. Then do an apt-get update (Note: NOT upgrade!). When you do so, these are the only warnings you should see:

W: GPG error: http://archive.kernel.org/debian-archive/debian jessie-backports InRelease: The following signatures were invalid: KEYEXPIRED 1587841717 KEYEXPIRED 1668891673
W: GPG error: http://archive.kernel.org/debian-archive/debian jessie Release: The following signatures were invalid: KEYEXPIRED 1587841717

 

Well, those are the only ones unless an app has put something in /etc/apt/sources.list.d, in which case you may have to add [trusted=yes] there as well.


And once you get this done, run apt-get install nano to get yourself a usable editor.  If you are sticking with ReadyNAS, there's a good chance you'll need it down the road.

Message 37 of 63
ietsrl
Aspirant

Re: How I got apt update and install to work (with Debian Jessie retired)

whats change in apt.conf?

Thanks

 

Message 38 of 63
StephenB
Guru

Re: How I got apt update and install to work (with Debian Jessie retired)


@ietsrl wrote:

whats change in apt.conf?

 


It's actually not in the default ReadyNAS config at all.

 

Just read the info in the post right above yours...

 

Then you need to create /etc/apt/apt.conf with the following content:

Get::AllowUnauthenticated true;
Acquire::Check-Valid-Until false;

 

Message 39 of 63
Paniim
Aspirant

Re: How I got apt update and install to work (with Debian Jessie retired)

Thanks for the answer. I have looked at this solution. I would like to apply it to me. But I have never used SSH. I won't take orders. Hope someone can help me with this.

Message 40 of 63
dhl
Luminary
Luminary

Re: How I got apt update and install to work (with Debian Jessie retired)

Hi All,

 

After going back and re-reading this and the ZeroTier as ReadyCloud Replacement threads, I finally got 1.6.6 running and online!

 

It totally works! I see the remote server in the macOS network tab and I can log on with my credentials and everything I expect is there. It's a fine replacement for ReadyCloud and the team is stoked to be able to work remotely again.

 

Thanks @Sandshark@StephenB, and everyone else for your help!😊

Message 41 of 63
dhl
Luminary
Luminary

Re: How I got apt update and install to work (with Debian Jessie retired)

Hi All,

Recently ZeroTier suddenly stopped working for us. I checked the ZeroTier network and it appears that our ReadyNas is not connecting. Here's a screen shot:

 

 

Screen Shot 2023-10-11 at 2.39.43 PM.jpeg

 

 

The top address is the ReadyNAS, the bottom address is my connected computer. As you can see, the ReadyNAS doesn't have an IP on the network.

 

I ran zerotier-cli join in terminal with the network ID and received a 200 OK reply
But when I run zerotier-cli info I get an OFFLINE reply even though the ReeadyNAS is authorized. 

 

@Sandshark@StephenB and anyone else - have you encountered this problem? What do I need to do to get ZeroTier back up and running? I'm using version 1.6.6

 

I found this discussion in the ZeroTier forum but I'm hoping I don't have to reinstall:

https://discuss.zerotier.com/t/zerotier-cli-shows-offline-zerotier-gui-shows-connected/138

 

Things were working great until it broke. Any advice greatly appreciated.

 

Thanks!

 

 

 

 




 

Message 42 of 63
Sandshark
Sensei

Re: How I got apt update and install to work (with Debian Jessie retired)

What model NAS is this on?  I had a similar issue when both of my Ethernet ports were enabled and the primary one didn't have internet access.  I have my primary and backup NAS's connected to just each other via a switch and static IP's, but the primary had ETH1 connected to my "real" LAN and ETH0 to the local-only one where the backups had the opposite.   Swapping the ports (including their DHCP options) and re-booting the NAS did the trick.  If your are using ETH1 as your primary network connection and ETH0 is enabled, even though not connected to anything, perhaps the same thing could happen.

Message 43 of 63
StephenB
Guru

Re: How I got apt update and install to work (with Debian Jessie retired)


@Sandshark wrote:

 Swapping the ports (including their DHCP options) and re-booting the NAS did the trick. 


You can test this pretty easily - just disconnect one NIC and test, then reconnect it and disconnect the other one.

Message 44 of 63
dhl
Luminary
Luminary

Re: How I got apt update and install to work (with Debian Jessie retired)

@Sandshark - This is a Pro 6. Will check the ports as you suggest and report back. Thanks!

Message 45 of 63
dhl
Luminary
Luminary

Re: How I got apt update and install to work (with Debian Jessie retired)

@Sandshark @StephenB  -


There was nothing unusual with the port configuration. ETH0 was primary and the only port enabled. I wound up following the instructions from the ZeroTier forum to uninstall/re-install ZeroTier and now everything's back up and running normally. Hopefully it doesn't break again!😉


Thanks for your help!

Message 46 of 63
cory_booth
Initiate

Re: How I got apt update and install to work (with Debian Jessie retired)

Message 47 of 63
StephenB
Guru

Re: How I got apt update and install to work (with Debian Jessie retired)


@cory_booth wrote:

It's been fixed....
ReadyNAS OS 6 Software Version 6.10.10 - NETGEAR Support


No, 6.10.10 totally removed the GUI install, and also changed the apt configuration so it doesn't work at all.

Message 48 of 63
XtheUnknown
Apprentice

Re: How I got apt update and install to work (with Debian Jessie retired)

It's worse than that, Jim...

 

I have a VM which (as a test) I upgraded from 6.10.8 to 6.10.10. Not only did it remove the ability to upload apps by file browser and the "available apps" tab, it also removed existing installed apps, including SMBPLUS. I didn't have Plex installed on the VM, but I assume it would do that too - and lose all my Plex configuration data...

 

This is a dangerous update, which could lead to loss of user (configuration) data, and I will be staying well clear on my production and backup devices (unless @sandshark or @StephenB advise otherwise).

 

Message 49 of 63
cory_booth
Initiate

Re: How I got apt update and install to work (with Debian Jessie retired)

I'm aware - bit of sarcasm...

I did see Plex and Resillio were still listed under the "Featured Apps" window...

But yes, all other options were removed.

Message 50 of 63
Top Contributors
Discussion stats
Announcements