I noted that apt-mirror does not copy the full repository. I would like to make it copy all of it. Any I idea how that can be done?
This is what is on the server for Xenial/Main
[DIR] binary-amd64/ 2016-04-21 19:39 -
[DIR] binary-i386/ 2016-04-21 19:39 -
[DIR] debian-installer/ 2015-12-02 22:22 -
[DIR] dep11/ 2016-04-21 13:13 -
[DIR] dist-upgrader-all/ 2016-04-16 18:13 -
[DIR] i18n/ 2016-04-21 19:39 -
[DIR] installer-amd64/ 2017-12-01 16:17 -
[DIR] installer-i386/ 2017-12-01 16:17 -
[DIR] source/ 2016-04-21 19:39 -
[DIR] uefi/ 2015-11-02 23:53 -
This is what I got
[DIR] binary-amd64/ 2016-04-21 19:39 -
[DIR] binary-i386/ 2016-04-21 19:39 -
[DIR] dep11/ 2016-04-21 13:13 -
[DIR] i18n/ 2016-04-21 19:39 -
[DIR] source/ 2016-04-21 19:39 -
Edit: one thing I already found out. To include the debian-installer/ section, add in the mirror.list file
deb http://archive.ubuntu.com/ubunut xenial main main/debian-installer restricted restricted/debian-installer universe multiverse
This works because apt-mirror finds a packages.gz file there. With other folders this does not work, e.g. installer-amd64.
Tried the following with bionic Ubuntu 18.04 and works: