PDA

View Full Version : [all variants] Is it safe to stop apt-mirror, then resume download?


PryGuy
February 23rd, 2009, 12:26 PM
Good day!
I use apt-mirror to create Ubuntu repo on my production machine, so I have to reboot/shutdown/whatever from time to time. Is it safe to stop apt-mirror and resume download later? I'm afraid I'll get some packages broken... :-k

Thank you in advance!

PryGuy
February 25th, 2009, 11:34 AM
Anybody?

netztier
February 25th, 2009, 01:17 PM
Good day!
I use apt-mirror to create Ubuntu repo on my production machine, so I have to reboot/shutdown/whatever from time to time. Is it safe to stop apt-mirror and resume download later? I'm afraid I'll get some packages broken... :-k

Thank you in advance!

From my experience with it, you can stop it when it's running - AFAICR partial downloads are stored in a temporary directory and only moved to the archive when fully downloaded and integrity-checked.

regards

Marc