This seems to be a recurrent and intermittend problem. I have just run into it again, installing Ubuntu 18.04 LTS Server. One one box, no problem, on the other fail.
In some attempts it fails at the beginning, in others after download of a few fonts. And the most
annoying thing is, that the package is recorded as installed, even when the installation fails, so you have to do multiple apt purge... apt install...
This seems to be a recurrent and intermittend problem. I have just run into it again, installing Ubuntu 18.04 LTS Server. One one box, no problem, on the other fail.
In some attempts it fails at the beginning, in others after download of a few fonts. And the most
annoying thing is, that the package is recorded as installed, even when the installation fails, so you have to do multiple apt purge... apt install...