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
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. ...
StephenB
May 05, 2023Guru
Sandshark wrote:
OK, so I started off creating my own local Debian repository. Not recommended -- it's a lot of work.
FWIW, you can use apt-mirror for this:
If you set mirrors.list to
deb https://apt.readynas.com/packages/readynasos 6.10.7 updates apps main
deb http://archive.kernel.org/debian-archive/debian jessie main contrib non-free
deb http://archive.kernel.org/debian-archive/debian jessie-backports main contrib non-free
you can get all three of these repositories.
The Netgear one is about 4 GiB. You can't copy 6.10.8 because Netgear hasn't set the permissions up properly (no one can access it). Hopefully they will fix that soon.
The two Debian 8 repositories total about 72 GiB.
Note I haven't tried to use these yet, I just mirrored them.
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.
- StephenBMay 06, 2023Guru
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 contribThx 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
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.
- XtheUnknownMay 09, 2023Apprentice
How DO you ensure it downloads to the data and not the root volume?
- StephenBMay 09, 2023Guru
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.
Related Content
NETGEAR Academy

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