diff options
author | Norbert Preining <preining@logic.at> | 2020-01-07 10:55:10 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2020-01-07 10:55:10 +0000 |
commit | 9ff245e555f9e304eb1e767be8693ecaa01b439f (patch) | |
tree | 03c39e0bdb4ee3422dc47c04d17b415d60e57b12 /Master/texmf-dist/tex/xetex | |
parent | 3c846341e3091cb6d72d78f66a290ca3ea7be101 (diff) |
Automatically retry to download packages again later if failed (by Yusuke Terada)
I often encounter the following error during network installation of TeX Live.
```
TLPDB::_install_package: downloading did not succeed
Installation failed.
```
This occurs irregularly, that is, at which package the installation aborts
varies every time. So, it is probably due to some random network troubles.
Once the error occurs, the entire installation aborts there, and users should
retry from the beginning. So I have tried implementing a workaround in the
installation routine based on Hironobu Yamashita's suggestion. His idea is:
If download of some packages fails, skip them and store them in @packs_again.
After the installation of other packages completed, retry to install the
packages stored in @packs_again.
If it fails again, the installation process is to be aborted this time around.
However, if the errors are due to random network troubles, the probability of
an error occurring twice on the same package should be quite small.
As an experiment, I tried raising network troubles intentionally during network
installation. This workaround seems to work well.
git-svn-id: svn://tug.org/texlive/trunk@53343 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xetex')
0 files changed, 0 insertions, 0 deletions