ttf-mscorefonts-installer failure to download extra data files on Ubuntu 16.04 [duplicate]
Solution 1:
Summary:
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.7_all.deb
sudo apt-get purge ttf-mscorefonts-installer -y
sudo apt install ./ttf-mscorefonts-installer_3.7_all.deb
This seems to be an Ubuntu server problem for now. Below is a temporary workaround to avoid this problem:
Download all the fonts except for wd97vwr32.exe from the sourceforge site using your favorite internet browser. Put all of the exe files in one folder.
Then run the command line in your terminal:
sudo dpkg-reconfigure ttf-mscorefonts-installer
with the fonts folder directed.
Notice that you may need to repeat this operation for a couple of times if there are more missing-fonts messages popping up. For all missing fonts, you should try searching for the missed fonts, download the exe files and put them in the fonts folder created in the previous step and redo the command line until no more error messages pop up.
The prompt will stop popping out after this. As pointed out in the other answer, this is a bug of the Ubuntu 16.04 system, and hopefully it will be fixed at the root soon.
Update on 2018-11-6: A better/easier workaround is to download the 3.7 or the latest version of ttf-mscorefonts-installer
from Debian. Double clicking and installing that package with gnome's software center (and probably also ubuntu's software center) works perfectly. Or, if you would like to run some code, here you go:
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.7_all.deb -P ~/Downloads
will download the package to your Downloads folder, and
sudo apt install ~/Downloads/ttf-mscorefonts-installer_3.7_all.deb
Update on 2021-09-27: Download the last
version of ttf-mscorefonts-installer
(3.8 as of this date). Right click to Open With Software Install (GNOME Shell 3.36.9
/ Ubuntu 20.04.3 LTS
).
Solution 2:
This is a confirmed bug in Xenial Xerus (16.04). Same error persists for me. I tried installing the ms-fonts separately using the command line which also failed. But installing by downloading the packages from the Internet through browser is possible.
For the bug tracking and the solution for the bug can be tracked through the thread link below. The bug is still open and it has not yet been solved.
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1543280
Please report any solutions found for the bug.
UPDATE :
I found a way removing the temp files in the partial folder and installing the fonts through terminal. This worked for me.
sudo dpkg -P ttf-mscorefonts-installer
sudo rm -rf /var/lib/update-notifier/package-data-downloads/partial/*
sudo apt-get --purge --reinstall install ttf-mscorefonts-installer
Please see the link below.
How to make ttf-mscorefonts-installer package download fonts, after it says it installed?
Solution 3:
The solution I've found is to download Debian's version of this package:
https://packages.debian.org/en/sid/all/ttf-mscorefonts-installer/download
Then the fonts install without any problems! Hooray, and it's sad that Ubuntu failed to create a functional package when they could've just copied Debian's version and had it work!