MS core fonts not installing (Solved)

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
LLS
Level 2
Level 2
Posts: 86
Joined: Sat Nov 18, 2017 9:38 am
Location: County Mayo, Ireland

MS core fonts not installing (Solved)

Post by LLS » Mon Jul 01, 2019 3:06 pm

I've installed the package ttf-mscorefonts-installer several times using Synapic and when I start LibrOffice the fonts are just not there!
(and yes I did accept the license agreement)

Any ideas?
Last edited by LLS on Wed Jul 03, 2019 8:46 am, edited 1 time in total.

User avatar
xenopeek
Level 24
Level 24
Posts: 24059
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: MS core fonts not installing

Post by xenopeek » Tue Jul 02, 2019 1:02 am

The ttf-mscorefonts-installer package may be successfully installed, but the installer it contains to download, extract and install the Microsoft fonts has apparently been broken on Ubuntu for some time.

You could try the workaround here:
viewtopic.php?f=47&t=292041&p=1620797#p1620766

You can also just use replacement fonts, see a list: https://wiki.archlinux.org/index.php/Me ... ible_fonts
Image

User avatar
Pjotr
Level 21
Level 21
Posts: 13190
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: MS core fonts not installing

Post by Pjotr » Tue Jul 02, 2019 4:49 am

xenopeek wrote:
Tue Jul 02, 2019 1:02 am
The ttf-mscorefonts-installer package may be successfully installed, but the installer it contains to download, extract and install the Microsoft fonts has apparently been broken on Ubuntu for some time.
Well, it works fine on my 19.1 box:

Code: Select all

~$ sudo apt-get install ttf-mscorefonts-installer
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd       
De statusinformatie wordt gelezen... Klaar
De volgende pakketten zijn automatisch geïnstalleerd en zijn niet langer nodig:
  libegl-mesa0:i386 libegl1:i386 libgbm1:i386 libwayland-egl1-mesa:i386 libwayland-server0:i386 libxcb-xfixes0:i386 linux-headers-4.15.0-47 linux-headers-4.15.0-47-generic
  linux-headers-4.15.0-48 linux-headers-4.15.0-48-generic linux-headers-4.15.0-50 linux-headers-4.15.0-50-generic linux-image-4.15.0-47-generic linux-image-4.15.0-48-generic
  linux-image-4.15.0-50-generic linux-modules-4.15.0-47-generic linux-modules-4.15.0-48-generic linux-modules-4.15.0-50-generic linux-modules-extra-4.15.0-47-generic
  linux-modules-extra-4.15.0-48-generic linux-modules-extra-4.15.0-50-generic
Gebruik 'sudo apt autoremove' om ze te verwijderen.
De volgende NIEUWE pakketten zullen geïnstalleerd worden:
  ttf-mscorefonts-installer
0 opgewaardeerd, 1 nieuw geïnstalleerd, 0 te verwijderen en 4 niet opgewaardeerd.
Er moeten 27,6 kB aan archieven opgehaald worden.
Na deze bewerking zal er 94,2 kB extra schijfruimte gebruikt worden.
Ophalen:1 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 ttf-mscorefonts-installer all 3.6ubuntu2 [27,6 kB]
27,6 kB opgehaald in 0s (55,1 kB/s)               
Voorconfigureren van pakketten ...
Voorheen niet geselecteerd pakket ttf-mscorefonts-installer wordt geselecteerd.
(Database wordt ingelezen ... 448051 bestanden en mappen momenteel geïnstalleerd.)
Uitpakken van .../ttf-mscorefonts-installer_3.6ubuntu2_all.deb wordt voorbereid...
Bezig met uitpakken van ttf-mscorefonts-installer (3.6ubuntu2) ...
Bezig met afhandelen van triggers voor update-notifier-common (3.192.1.7) ...
ttf-mscorefonts-installer: processing...
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
Ophalen:1 http://downloads.sourceforge.net/corefonts/andale32.exe [198 kB]
198 kB opgehaald in 1s (157 kB/s)                                                            
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
Ophalen:1 http://downloads.sourceforge.net/corefonts/arial32.exe [554 kB]
554 kB opgehaald in 1s (401 kB/s)                                                       
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arialb32.exe
Ophalen:1 http://downloads.sourceforge.net/corefonts/arialb32.exe [168 kB]
168 kB opgehaald in 1s (207 kB/s)                                                           
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/comic32.exe
Ophalen:1 http://downloads.sourceforge.net/corefonts/comic32.exe [246 kB]
246 kB opgehaald in 1s (207 kB/s)                                                       
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/courie32.exe
Ophalen:1 http://downloads.sourceforge.net/corefonts/courie32.exe [646 kB]
646 kB opgehaald in 1s (609 kB/s)                                                            
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/georgi32.exe
Ophalen:1 http://downloads.sourceforge.net/corefonts/georgi32.exe [392 kB]
392 kB opgehaald in 2s (219 kB/s)                                                        
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/impact32.exe
Ophalen:1 http://downloads.sourceforge.net/corefonts/impact32.exe [173 kB]
173 kB opgehaald in 1s (150 kB/s)                                                        
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/times32.exe
Ophalen:1 http://downloads.sourceforge.net/corefonts/times32.exe [662 kB]
662 kB opgehaald in 1s (468 kB/s)                                                             
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/trebuc32.exe
Ophalen:1 http://downloads.sourceforge.net/corefonts/trebuc32.exe [357 kB]
357 kB opgehaald in 1s (390 kB/s)                                                           
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/verdan32.exe
Ophalen:1 http://downloads.sourceforge.net/corefonts/verdan32.exe [352 kB]
352 kB opgehaald in 1s (393 kB/s)                                                            
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/webdin32.exe
Ophalen:1 http://downloads.sourceforge.net/corefonts/webdin32.exe [185 kB]
185 kB opgehaald in 1s (219 kB/s)                                                            

These fonts were provided by Microsoft "in the interest of cross-
platform compatibility".  This is no longer the case, but they are
still available from third parties.

You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.

Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/andale32.exe
  extracting fontinst.inf
  extracting andale.inf
  extracting fontinst.exe
  extracting AndaleMo.TTF
  extracting ADVPACK.DLL
  extracting W95INF32.DLL
  extracting W95INF16.DLL

All done, no errors.
Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/arial32.exe
  extracting FONTINST.EXE
  extracting fontinst.inf
  extracting Ariali.TTF
  extracting Arialbd.TTF
  extracting Arialbi.TTF
  extracting Arial.TTF

All done, no errors.
Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/arialb32.exe
  extracting fontinst.exe
  extracting fontinst.inf
  extracting AriBlk.TTF

All done, no errors.
Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/comic32.exe
  extracting fontinst.inf
  extracting Comicbd.TTF
  extracting Comic.TTF
  extracting fontinst.exe

All done, no errors.
Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/courie32.exe
  extracting cour.ttf
  extracting courbd.ttf
  extracting courbi.ttf
  extracting fontinst.inf
  extracting couri.ttf
  extracting fontinst.exe

All done, no errors.
Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/georgi32.exe
  extracting fontinst.inf
  extracting Georgiaz.TTF
  extracting Georgiab.TTF
  extracting Georgiai.TTF
  extracting Georgia.TTF
  extracting fontinst.exe

All done, no errors.
Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/impact32.exe
  extracting fontinst.exe
  extracting Impact.TTF
  extracting fontinst.inf

All done, no errors.
Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/times32.exe
  extracting fontinst.inf
  extracting Times.TTF
  extracting Timesbd.TTF
  extracting Timesbi.TTF
  extracting Timesi.TTF
  extracting FONTINST.EXE

All done, no errors.
Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/trebuc32.exe
  extracting FONTINST.EXE
  extracting trebuc.ttf
  extracting Trebucbd.ttf
  extracting trebucbi.ttf
  extracting trebucit.ttf
  extracting fontinst.inf

All done, no errors.
Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/verdan32.exe
  extracting fontinst.exe
  extracting fontinst.inf
  extracting Verdanab.TTF
  extracting Verdanai.TTF
  extracting Verdanaz.TTF
  extracting Verdana.TTF

All done, no errors.
Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/webdin32.exe
  extracting fontinst.exe
  extracting Webdings.TTF
  extracting fontinst.inf
  extracting Licen.TXT

All done, no errors.
All fonts downloaded and installed.
Instellen van ttf-mscorefonts-installer (3.6ubuntu2) ...
Bezig met afhandelen van triggers voor fontconfig (2.12.6-0ubuntu2) ...
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
xenopeek
Level 24
Level 24
Posts: 24059
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: MS core fonts not installing

Post by xenopeek » Tue Jul 02, 2019 6:31 am

I'm only going by what I read earlier :)

@LLS, try installing the package through terminal to capture any errors of when it runs to install fonts. You can use this command in the terminal (it will ask for your password to proceed):
apt install ttf-mscorefonts-installer

If there are any errors, share the output here (you can select all text and copy it through the terminal's Edit menu).
Image

User avatar
thx-1138
Level 7
Level 7
Posts: 1842
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: MS core fonts not installing

Post by thx-1138 » Tue Jul 02, 2019 6:52 am

Pjotr wrote:
Tue Jul 02, 2019 4:49 am
Well, it works fine on my 19.1 box:
...ah... ;-)

LLS
Level 2
Level 2
Posts: 86
Joined: Sat Nov 18, 2017 9:38 am
Location: County Mayo, Ireland

Re: MS core fonts not installing

Post by LLS » Tue Jul 02, 2019 7:46 am

Should have said at start I'm using 19.1 Xfce.

Synaptic does show it as an installed package but doesnt do anything.
Installing from terminal it does show an error:

Code: Select all

$ apt install ttf-mscorefonts-installer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  update-notifier-common
The following NEW packages will be installed
  ttf-mscorefonts-installer update-notifier-common
0 to upgrade, 2 to newly install, 0 to remove and 32 not to upgrade.
Need to get 0 B/188 kB of archives.
After this operation, 1,505 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
Selecting previously unselected package update-notifier-common.
(Reading database ... 263538 files and directories currently installed.)
Preparing to unpack .../update-notifier-common_3.192.1.7_all.deb ...
Unpacking update-notifier-common (3.192.1.7) ...
Selecting previously unselected package ttf-mscorefonts-installer.
Preparing to unpack .../ttf-mscorefonts-installer_3.6ubuntu2_all.deb ...
mscorefonts-eula license has already been accepted
Unpacking ttf-mscorefonts-installer (3.6ubuntu2) ...
Setting up update-notifier-common (3.192.1.7) ...
ttf-mscorefonts-installer: processing...
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
Err:1 http://downloads.sourceforge.net/corefonts/andale32.exe
  Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=kent.dl.sourceforge.net' is forbidden [IP: 212.219.56.185 443]
E: Failed to fetch https://kent.dl.sourceforge.net/project/corefonts/the fonts/final/andale32.exe  Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=kent.dl.sourceforge.net' is forbidden [IP: 212.219.56.185 443]
E: Download Failed
Setting up ttf-mscorefonts-installer (3.6ubuntu2) ...
Processing triggers for fontconfig (2.12.6-0ubuntu2) ...

User avatar
Pjotr
Level 21
Level 21
Posts: 13190
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: MS core fonts not installing

Post by Pjotr » Tue Jul 02, 2019 8:37 am

Failed mirror. Change your mirror servers in Software Sources.

E: Failed to fetch https://kent.dl.sourceforge.net/project/corefonts/the fonts/final/andale32.exe

Apparently not all sourceforge mirrors are OK.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
xenopeek
Level 24
Level 24
Posts: 24059
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: MS core fonts not installing

Post by xenopeek » Tue Jul 02, 2019 10:56 am

Would the Linux Mint mirror selection affect the redirect Sourceforge does to its own mirrors? I doubt that.
Image

User avatar
Flemur
Level 17
Level 17
Posts: 7070
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: MS core fonts not installing

Post by Flemur » Tue Jul 02, 2019 11:26 am

LLS wrote:
Tue Jul 02, 2019 7:46 am
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
Err:1 http://downloads.sourceforge.net/corefonts/andale32.exe
Redirection from https to 'http://downloads.sourceforge.net/mirror ... eforge.net' is forbidden [IP: 212.219.56.185 443]
FWIW, I can download

Code: Select all

http://downloads.sourceforge.net/corefonts/andale32.exe
as well as (so far) any of the fonts here (which are all the "core" ms fonts, pretty sure):

Code: Select all

https://sourceforge.net/projects/corefonts/files/the%20fonts/final/
without problems.

So you might just try again...server problems?

If you end up DL-ing them individually, I'm not sure what you're supposed to do with the .exe files (the worst way to distribute a single file).

If you have a windows machine, you can copy the .ttf file from there (onto a USB, etc) and then

Code: Select all

sudo mkdir -p /usr/share/fonts/truetype/mscore
Copy the fonts into that directory (w/sudo/root), then

Code: Select all

sudo fc-cache -fv
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 19.1 Xfce/fluxbox
Manjaro openbox/fluxbox

User avatar
Pjotr
Level 21
Level 21
Posts: 13190
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: MS core fonts not installing

Post by Pjotr » Tue Jul 02, 2019 12:01 pm

xenopeek wrote:
Tue Jul 02, 2019 10:56 am
Would the Linux Mint mirror selection affect the redirect Sourceforge does to its own mirrors? I doubt that.
Yes, you're probably right.... I wouldn't know how to circumvent that. :(
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
thx-1138
Level 7
Level 7
Posts: 1842
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: MS core fonts not installing

Post by thx-1138 » Tue Jul 02, 2019 5:24 pm

...the problem lies with Ubuntu's variant of ttf-mscorefonts-installer's download script:
they've patched (& contra-patched it), and it still fails depending on the mood of SF...
there are numerous semi-duplicate reports & questions about it both in bugzilla, askubuntu, their forums, here etc.

The reason i find that quite annoying, besides the fact that this still hasn't been entirely solved,
(ie. case in point here), is because the original & more simple Debian package / code somehow handles SF better.
It also doesn't pull...2 extra python packages & 3 ubuntu-something-ones: usually Ubuntu patches are for the better,
but sometimes they aren't that much well thought / thoroughly implemented, and instead add unnecessary complexity...

Ideally, such should be a mint-package in my point of view...

LLS
Level 2
Level 2
Posts: 86
Joined: Sat Nov 18, 2017 9:38 am
Location: County Mayo, Ireland

Re: MS core fonts not installing

Post by LLS » Wed Jul 03, 2019 8:46 am

Interesting several mirrors had problems with the ttf package even though all other updates downloaded OK.
However, I've now found one that worked.

mediclaser
Level 4
Level 4
Posts: 362
Joined: Tue Mar 20, 2018 2:28 pm

A reliable alternative to ttf-mscorefonts

Post by mediclaser » Wed Jul 03, 2019 3:49 pm

Instead of installing ttf-mscorefonts, what I do is:
1) make a .fonts folder in my home directory
2) copy the Windows font files that I need to have into the new .fonts folder
3) go to terminal and do a fc-cache -fv command

I find this approach more reliable, and works on other Linux distros.
If you're looking for a greener Linux pasture, you won't find any that is greener than Linux Mint. ;)

jimbzk
Level 1
Level 1
Posts: 12
Joined: Fri Aug 09, 2019 2:29 pm
Location: Thessaloniki,Greece

Re: MS core fonts not installing

Post by jimbzk » Sat Aug 24, 2019 6:56 pm

LLS wrote:
Tue Jul 02, 2019 7:46 am

Redirection from https to 'http://downloads.sourceforge.net/mirror ... eforge.net' is forbidden [IP: 212.219.56.185 443]
E: Failed to fetch https://kent.dl.sourceforge.net/project/corefonts/the fonts/final/andale32.exe Redirection from https to 'http://downloads.sourceforge.net/mirror ... eforge.net' is forbidden [IP: 212.219.56.185 443]
E: Download Failed
Setting up ttf-mscorefonts-installer (3.6ubuntu2) ...
Processing triggers for fontconfig (2.12.6-0ubuntu2) ...
[/code]
I have the same problem with you...I still cannot find a solution!!! :?

User avatar
karlchen
Level 20
Level 20
Posts: 11220
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: MS core fonts not installing (Solved)

Post by karlchen » Sat Aug 24, 2019 7:20 pm

Hi, folks.

xenopeek's post near the top of this thread already holds the path to the solution, though a bit hidden.
The thread to which xenopeek points links to this Launchpad bug: ttf-mscorefonts-installer 3.6ubuntu2 fails to install core fonts.
In this Launchpad bug report we learn that the solution is
  • Workaround 2:
  • uninstalling the (buggy) Ubuntu installer package ttf-mscorefonts-installer
  • downloading the Debian installer package instead: https://packages.debian.org/ttf-mscorefonts-installer It is version 3.6 or maybe higher today
  • installing the downloaded Debian package:

    Code: Select all

    sudo dpkg --install /path/to/ttf-mscorefonts-installer_3.6_all.deb
HTH,
Karl
--
P.S.:
Just have checked that on my Mint 18.1 where I am typing this, Linux Mint pulled in the Ubuntu 3.6 installer package from Ubuntu 18.04 as a "backport".
Mint 19.x provides the Ubuntu 18.04 installer package to their users.

Code: Select all

$ inxi -S; apt-cache policy ttf-mscorefonts-installer
System:    Host: paulchen Kernel: 4.15.0-58-generic i686 bits: 32 Desktop: Xfce 4.12.3 Distro: Linux Mint 19.2 Tina 
ttf-mscorefonts-installer:
  Installed: (none)
  Candidate: 3.6ubuntu2
  Version table:
     3.6ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu bionic/multiverse i386 Package 

Code: Select all

$ inxi -S; apt-cache policy ttf-mscorefonts-installer
System:    Host: paulchen Kernel: 4.4.0-159-generic i686 bits: 32 Desktop: Xfce 4.12.3 Distro: Linux Mint 18.1 Serena 
ttf-mscorefonts-installer:
  Installed: 3.6
  Candidate: 3.6
  Version table:
 *** 3.6 500
        500 http://packages.linuxmint.com serena/backport i386 Packages
        100 /var/lib/dpkg/status
     3.4+nmu1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages
Image
Linux Mint 19.2 32-bit xfce Desktop, Total Commander 9.22a 32-bit
Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.22a 64-bit
Windows? - 1 window in every room

jimbzk
Level 1
Level 1
Posts: 12
Joined: Fri Aug 09, 2019 2:29 pm
Location: Thessaloniki,Greece

Re: MS core fonts not installing (Solved)

Post by jimbzk » Sat Aug 24, 2019 7:42 pm

Thank you karlchen, you solved my problem!!!! :D :D :D

Post Reply

Return to “Other topics”