I was looking into:
https://wiki.debian.org/AptCacherNg
It uses by default:
Code: Select all
/var/cache/apt-cacher-ng/
Code: Select all
/var/cache/apt/archives/
But I see a small issue: /var/cache/apt-cacher-ng/ has sub folders system.
Thankyou
Code: Select all
/var/cache/apt-cacher-ng/
Code: Select all
/var/cache/apt/archives/
Code: Select all
dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
In my arrangement this pool is served up by passing around a usb, either real or as a qcow2. Works fine.deb [trusted=yes] file:///pool/dists/stretch/binary-amd64/ ./