[Apt-cacher-ng-users] 3.1: importing packages has put them all in one directory
Chris West
solo-acng at goeswhere.com
Tue Dec 19 22:27:10 UTC 2017
I've attempted to import an existing apt-mirror Debian mirror into acng,
and it has decided to place every file in a single directory, which has
caused my filesystem some sadness.
Is this intended? Did I do something wrong?
Inside the cache directory, I have an _import with a standard mirror
layout:
$ cd /var/cache/apt-cacher-ng
$ find _import/a*/m*/d*/debian/pool -maxdepth 2
_import/apt-mirror/mirror/deb.debian.org/debian/pool
_import/apt-mirror/mirror/deb.debian.org/debian/pool/contrib
_import/apt-mirror/mirror/deb.debian.org/debian/pool/contrib/a
etc.
The imported debian repo has put all the files, including the .head
files, etc. into:
$ ls -1 debrep/pool/main/0/0ad | wc -l
279406
$ ls -1 debrep/pool/main/0/0ad | tail -n 5
zzz-to-char_0.1.2-1.debian.tar.xz.head
zzz-to-char_0.1.2-1.dsc
zzz-to-char_0.1.2-1.dsc.head
zzz-to-char_0.1.2.orig.tar.gz
zzz-to-char_0.1.2.orig.tar.gz.head
debrep is the standard Debian/Ubuntu name for the repo, using the
standard mirror lists. I don't have any other notable settings or
configuration I can think would cause an issue.
Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian
I built apt-cacher-ng myself by backporting the Ubuntu Bionic 18.04
package to Ubuntu Xenial 16.04; amd64.
Cheers,
Chris.
More information about the Apt-cacher-ng-users
mailing list