NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Sandshark
Apr 11, 2023Sensei - Experienced User
How I got apt update and install to work (with Debian Jessie retired)
OK, so I started off creating my own local Debian repository. Not recommended -- it's a lot of work. But with a lot of Googling and experimenting, I finally got apt to work using an online source. ...
tigerten
May 05, 2023Luminary
I would also recommend adding the retired and archived Debian security repo as well.
Http://archive. Debian.org/Debian-security Jessie/updates main non-free contrib
Something like that. The packages there are newer.
Http://archive. Debian.org/Debian-security Jessie/updates main non-free contrib
Something like that. The packages there are newer.
StephenB
May 06, 2023Guru - Experienced User
tigerten wrote:
I would also recommend adding the retired and archived Debian security repo as well.
Http://archive. Debian.org/Debian-security Jessie/updates main non-free contrib
Thx for the tip, I have added that.
One aspect with apt-mirror - it grabs the repository for the platform you are using. So if you are on an x86 machine, it will get the x86 repository.
It will run on the NAS without needing installation, so you can just run it there to make sure you get the repository you need for your platform. Make sure you are saving to the data volume, as the OS partition is far too small.
- tigertenMay 06, 2023Luminary
You can safely delete the pgp files and the inrelease file in the jessie and jessie-backport once local, keeping only the release file. the release file in the jessie-backport has an expiration date in it. You can change that to any date you want. \
You should keep everything in the Jessie-security repo.
This will eliminate all the nagging error messages.
- SandsharkMay 07, 2023Sensei - Experienced User
I did successfully use apt-mirror to create local repositories. And I had no problem getting the ARMHF and ARMEL repositories running on an Intel-based system. But I did have to run it on a Linux platform other than the NAS itself.
- StephenBMay 07, 2023Guru - Experienced User
Sandshark wrote:
And I had no problem getting the ARMHF and ARMEL repositories running on an Intel-based system.
Both my RN102 and RN202 downloaded ARMEL with my mirror list (which didn't specify the platform). Not sure what ReadyNAS use ARMHF, but the Netgear repositories include it, so I've also added that.
Here's my current mirror.list
deb-amd64 https://apt.readynas.com/packages/readynasos 6.10.0 updates apps main deb-amd64 https://apt.readynas.com/packages/readynasos 6.10.1 updates apps main deb-amd64 https://apt.readynas.com/packages/readynasos 6.10.2 updates apps main deb-amd64 https://apt.readynas.com/packages/readynasos 6.10.3 updates apps main deb-amd64 https://apt.readynas.com/packages/readynasos 6.10.4 updates apps main deb-amd64 https://apt.readynas.com/packages/readynasos 6.10.5 updates apps main deb-amd64 https://apt.readynas.com/packages/readynasos 6.10.6 updates apps main deb-amd64 https://apt.readynas.com/packages/readynasos 6.10.7 updates apps main deb-amd64 https://apt.readynas.com/packages/readynasos 6.10.8 updates apps main deb-amd64 https://apt.readynas.com/packages/readynasos 6.10.9 updates apps main deb-amd64 http://archive.kernel.org/debian-archive/debian jessie main contrib non-free deb-amd64 http://archive.kernel.org/debian-archive/debian jessie-backports main contrib non-free deb-amd64 http://archive.debian.org/debian-security jessie/updates main contrib non-free deb-armel https://apt.readynas.com/packages/readynasos 6.10.0 updates apps main deb-armel https://apt.readynas.com/packages/readynasos 6.10.1 updates apps main deb-armel https://apt.readynas.com/packages/readynasos 6.10.2 updates apps main deb-armel https://apt.readynas.com/packages/readynasos 6.10.3 updates apps main deb-armel https://apt.readynas.com/packages/readynasos 6.10.4 updates apps main deb-armel https://apt.readynas.com/packages/readynasos 6.10.5 updates apps main deb-armel https://apt.readynas.com/packages/readynasos 6.10.6 updates apps main deb-armel https://apt.readynas.com/packages/readynasos 6.10.7 updates apps main deb-armel https://apt.readynas.com/packages/readynasos 6.10.8 updates apps main deb-armel https://apt.readynas.com/packages/readynasos 6.10.9 updates apps main deb-armel http://archive.kernel.org/debian-archive/debian jessie main contrib non-free deb-armel http://archive.kernel.org/debian-archive/debian jessie-backports main contrib non-free deb-armel http://archive.debian.org/debian-security jessie/updates main contrib non-free deb-armhf https://apt.readynas.com/packages/readynasos 6.10.0 updates apps main deb-armhf https://apt.readynas.com/packages/readynasos 6.10.1 updates apps main deb-armhf https://apt.readynas.com/packages/readynasos 6.10.2 updates apps main deb-armhf https://apt.readynas.com/packages/readynasos 6.10.3 updates apps main deb-armhf https://apt.readynas.com/packages/readynasos 6.10.4 updates apps main deb-armhf https://apt.readynas.com/packages/readynasos 6.10.5 updates apps main deb-armhf https://apt.readynas.com/packages/readynasos 6.10.6 updates apps main deb-armhf https://apt.readynas.com/packages/readynasos 6.10.7 updates apps main deb-armhf https://apt.readynas.com/packages/readynasos 6.10.8 updates apps main deb-armhf https://apt.readynas.com/packages/readynasos 6.10.9 updates apps main deb-armhf http://archive.kernel.org/debian-archive/debian jessie main contrib non-free deb-armhf http://archive.kernel.org/debian-archive/debian jessie-backports main contrib non-free deb-armhf http://archive.debian.org/debian-security jessie/updates main contrib non-free
Total size is approximately 200 GiB.
- XtheUnknownMay 09, 2023Apprentice
How DO you ensure it downloads to the data and not the root volume?
- StephenBMay 09, 2023Guru - Experienced User
XtheUnknown wrote:
How DO you ensure it downloads to the data and not the root volume?
If you are talking about apt-mirror, I just created an apt-mirror share. I put mirror.list in the share root, and ran apt-mirror while in the folder.
Total size is about 200 GB, the OS partition is only 4 GB.
- XtheUnknownMay 09, 2023Apprentice
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)...
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!