apt-mirror appears to misstate amount of data that will be transferred
I am new to debian and apt but a long time sys admin for redhat/centos (rpm) systems. Stretch 9.1 installed without any exception and I installed apt-mirror and configured mirror.list initially with just amd64 main only to see it work. Then I added i386, sources and deb-multimedia and restarted apt-mirror.
Now, two days later after it finished transferring approx 150gb, when I restart it again, I am told the it needs another 11gb but it immediately completes without any transfer and without error. Running apt-mirror yet again produces the same results.
What is happening here? Is there a way to clean-up the directory structure if it somehow got corrupted?
Thanks,
Perazim
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
apt-mirror amount of data to be transferred wrong?
Re: apt-mirror appears to misstate amount of data that will
I have discovered that there is a typo in the mirror.list on the third line:
deb-amd64 http://ftp.is.co.za/debian/ stretch main contrib non-free
deb-i386 http://ftp.is.co.za/debian/ stretch main contrib non-free
deb-src http://ftp.us.debian.org/debian stretch main contrib non-free
...
s/b
deb-amd64 http://ftp.is.co.za/debian/ stretch main contrib non-free
deb-i386 http://ftp.is.co.za/debian/ stretch main contrib non-free
deb-src http://ftp.is.co.za/debian stretch main contrib non-free
...
While this may not be the cause of over-stating amount of data, it results in some of the data coming from overseas and not wanted. Once I adjust the mirror.list file, can I simply merge the two directory trees created by apt-mirror and rerun apt-mirror??? and will it not download all the debs again???
Thanks,
Perazim
deb-amd64 http://ftp.is.co.za/debian/ stretch main contrib non-free
deb-i386 http://ftp.is.co.za/debian/ stretch main contrib non-free
deb-src http://ftp.us.debian.org/debian stretch main contrib non-free
...
s/b
deb-amd64 http://ftp.is.co.za/debian/ stretch main contrib non-free
deb-i386 http://ftp.is.co.za/debian/ stretch main contrib non-free
deb-src http://ftp.is.co.za/debian stretch main contrib non-free
...
While this may not be the cause of over-stating amount of data, it results in some of the data coming from overseas and not wanted. Once I adjust the mirror.list file, can I simply merge the two directory trees created by apt-mirror and rerun apt-mirror??? and will it not download all the debs again???
Thanks,
Perazim
Re: apt-mirror appears to misstate amount of data that will
If you are not using source packages there is no need for the src lines.
Do you really want both amd64 and i386? that looks like a recipe for trouble.
Where is your security update line?
Do you really want both amd64 and i386? that looks like a recipe for trouble.
Where is your security update line?
Re: apt-mirror amount of data to be transferred wrong?
My sources.list and mirror.list issues are resolved but I have two small issues remaining:
1 - apt-mirror still states that there is 11GB of data remaining to be transferred when there is none. Everything seems to be in the mirror.
2 - I receive the following error at the end of the run: can't open /var/spool/apt-mirror/var/post-mirror.sh. Indeed the file is not there. Is this an error and a programming oversight?
Thanks,
Perazim
1 - apt-mirror still states that there is 11GB of data remaining to be transferred when there is none. Everything seems to be in the mirror.
2 - I receive the following error at the end of the run: can't open /var/spool/apt-mirror/var/post-mirror.sh. Indeed the file is not there. Is this an error and a programming oversight?
Thanks,
Perazim