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 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.
XtheUnknown
May 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.
- XtheUnknownMay 10, 2023Apprentice
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...?
- StephenBMay 10, 2023Guru
XtheUnknown wrote:
My sources.list for example is still pointing at the internet...?
You'd have to change that.
- PaniimSep 08, 2023Aspirant
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.
Related Content
NETGEAR Academy

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