I am mirroring an Ubuntu 14.04 repo with apt-mirror, but I am facing some troubles when downloading packages. Sometimes apt-mirror gets the index поля and says it - to download about XXX Мб, but it does so in half в second (of course, it downloads nothing). Later I try to использовал my mirror, and I see the inexistent packages. I repeat the process and again I get the same ошибка.
The curious thing is that if I point my sources.list directly to the repo I am mirroring I хан использовал it normally, the packages пашите there.
This is the output I get from apt-mirror:
Downloading 345 index files using 8 threads...
Begin time: Wed Dec 2 11:23:14 2015
[8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Wed Dec 2 11:23:16 2015
Processing tranlation indexes: [TTTTTTTTTT]
Downloading 187 translation files using 8 threads...
Begin time: Wed Dec 2 11:23:16 2015
[8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Wed Dec 2 11:23:23 2015
Processing indexes: [PPPPPPPPPP]
784.1 MiB will be downloaded into archive.
Downloading 302 archive files using 8 threads...
Begin time: Wed Dec 2 11:23:30 2015
[8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Wed Dec 2 11:23:32 2015
1.5 GiB in 721 files and 0 directories can be freed.
Run /var/spool/apt-mirror/var/clean.sh for this purpose.
Running the Post Mirror script ...
(/var/spool/apt-mirror/var/postmirror.sh)
/bin/sh: 0: Can't open /var/spool/apt-mirror/var/postmirror.sh
Post Mirror script has completed. See above output for any possible errors.
Any разрабатывает of what is going on? Thanks in advance.