I've tried to install mscorefonts in 16.04, it failed, and now each time system boots a pop up appears saying that if failed and wanted to do again, I try but again it doesn't install, so the next time this pop up appears and so... What could I do for disabling it? Thanks
5 Answers
What you are seeing is probably the download part of the installer, which will keep trying indefinitely. This is because the location of the font files has been changed on Sourceforge, but the hard-coded location in the installer itself has not. There is a launchpad bug for this problem at https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1371783. Comment #45 in the bug report https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1371783/comments/45 explains what has happened.
The solution which worked for me (on a clean 16.04 install) and which resulted in the fonts being installed was:
# Due to a bug in ttf-mscorefonts-installer, this package must be downloaded from Debian at a later version and installed before the rest of the packages:
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb
If you have already tried to install ttf-mscorefonts-installer, then it should be uninstalled first.

- 251
-
1Comment #45 in the bug report https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1371783/comments/45 explains what has happened. Currently the font files have moved, and this seems to have been due to a previous syndrome which caused the bug. The bug has been kept as is since the headline is still correct, even though the underlying cause has changed.
@WinEunuuchs2Unix The solution given does work.
– rag2 Sep 24 '16 at 12:07 -
As I don't recall reading down to comment #45, I tried to up-vote to zero but the software wouldn't let me. I did delete my comment. You might want to leave your comment in case others review the answer as incorrect too. – WinEunuuchs2Unix Sep 24 '16 at 22:00
I had the same problem after installing Ubuntu 16.04 fresh and then installing Battle.net. Launching it gave the same error message + crash. Using
sudo apt-get install --reinstall ttf-mscorefonts-installer
...did NOT work but I finally managed to fix it using this approach:
remove first:
sudo apt-get remove ttf-mscorefonts-installer
then reinstall from new place:
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb
The problem seems to be that the location of the font files has been changed on Sourceforge, and the location of the installer has not been updated (heard of using persistent URI:s anyone??). It's been explained here:
https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1371783/comments/45
The msfonts server at sourceforge was down yesterday, its back now, had issues installing it in both Ubuntu and Arch but its fixed thankfully.

- 1,580
I have the same issue on Ubuntu 16.04 LTS. Options I am trying are to:
- reinstall it, and
- if it fails I will remove it.
A. I just reinstalled ttf-mscorefonts-installer with command sudo apt-get install --reinstall ttf-mscorefonts-installer
Outcome from the apt-get log in the terminal:
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
0% [Working]terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr: __pos (which is 56) > this->size() (which is 55)
Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...
B. If I continue to see the below message, I plan to remove it with command: sudo apt-get remove ttf-mscorefonts-installer.
Failure to download extra data files
The following packages requested additional data downloads after package installation, but the data could not be downloaded or could not be processed.
ttf-mscorefonts-installer
The download will be attempted again later, or you can try the download again now. Running this command requires an active Internet connection.
Hope this answer helps. If you have a better answer, pls let me know. As solution B means MS core fonts will not be available for use.

- 2,302
-
Thanks, I did sudo apt-get remove ttf-mscorefonts-installer and it works. I hope that pop up won't show again, it's a shame that the fonts can't be installed... – Roque May 31 '16 at 02:15
For me, the following worked like a charm:
sudo apt-get remove ttf-mscorefonts-installer
then reinstall :
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb
sudo apt-get install -f
in a terminal? Also, can you provide us with some details? What went wrong? Do you have an error you could give us? In what way does the pop-up no complete the install: error or no response? – TheWanderer May 31 '16 at 00:33sudo apt-get install ttf-mscorefonts-installer
to try to install it again. – TheWanderer May 31 '16 at 01:03sudo apt-get install ttf-mscorefonts-installer
as Zacharee suggests it should install & display the licence agreement in the terminal (Left/Right cursors keys to agree/disagree and enter/return to select) – pHeLiOn May 31 '16 at 02:27