apt-mirror seems to do all the right things to inform you of any problems it encounters:
* It outputs a very visible error message * In exits with a non-zero exit code, so scripts that test the exit status will react accordingly * It is set up to run from cron, which emails you job output so you can see any errors Given all of that, how it took "a while" to notice this is surely a problem of poor system administration, not really the fault of the script itself? If you really need a fix for this, the listed error message points right to the line of the script to look at. All that is needed (for a quick and dirty, but working, solution) is to edit the die() into a warn(), and now the script will continue after this class of errors, which seems to be the behaviour you are looking for. A "real" patch would probably need to record the event and exit with a non-zero status when completed, too. ** Attachment added: "Trivial patch to warn and continue if a source is absent" http://launchpadlibrarian.net/20702910/apt-mirror.patch -- APT-proxy fails on single download error https://bugs.launchpad.net/bugs/310861 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
