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 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 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.
XtheUnknown
May 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.
- 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)...
- StephenBMay 09, 2023Guru
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.
Related Content
NETGEAR Academy

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