$ sudo apt install ttf-mscorefonts-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ttf-mscorefonts-installer
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/27,6 kB of archives.
After this operation, 94,2 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package ttf-mscorefonts-installer.
(Reading database ... 413816 files and directories currently installed.)
Preparing to unpack .../ttf-mscorefonts-installer_3.6ubuntu2_all.deb ...
Unpacking ttf-mscorefonts-installer (3.6ubuntu2) ...
Processing triggers for update-notifier-common (3.186) ...
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=netcologne.dl.sourceforge.net' is forbidden
E: Failed to fetch https://netcologne.dl.sourceforge.net/project/corefonts/the fonts/final/andale32.exe Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=netcologne.dl.sourceforge.net' is forbidden
E: Download Failed
Setting up ttf-mscorefonts-installer (3.6ubuntu2) ...
Processing triggers for fontconfig (2.11.94-0ubuntu2) ...
The issue only happens when a HTTPS mirror fails and is redirected to a HTTP fallback; if I get a working HTTPS mirror, the fonts install correctly.
Manually wget-ting the files, running dpkg-reconfigure ttf-mscorefonts-installer and giving the path to the fonts sort of works - the fonts are installed, yet dpkg still complains about failed install, re-running dpkg-reconfigure ttf-mscorefonts-installer "fixes" this (the extractor seems enumerate the font files first, but then globs * anyway).
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.
All done, no errors.
Extracting cabinet: /home/user/tmp/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: /home/user/tmp/arialb32.exe
extracting fontinst.exe
extracting fontinst.inf
extracting AriBlk.TTF
All done, no errors.
/home/user/tmp/cache: Invalid argument
All done, errors in processing 1 file(s)
Extracting cabinet: /home/user/tmp/comic32.exe
extracting fontinst.inf
extracting Comicbd.TTF
extracting Comic.TTF
extracting fontinst.exe
All done, no errors.
Extracting cabinet: /home/user/tmp/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: /home/user/tmp/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: /home/user/tmp/impact32.exe
extracting fontinst.exe
extracting Impact.TTF
extracting fontinst.inf
All done, no errors.
Extracting cabinet: /home/user/tmp/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: /home/user/tmp/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: /home/user/tmp/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: /home/user/tmp/webdin32.exe
extracting fontinst.exe
extracting Webdings.TTF
extracting fontinst.inf
extracting Licen.TXT
All done, no errors.
One or more fonts could not be extracted.
The fonts are NOT installed.
Please run 'dpkg-reconfigure ttf-mscorefonts-installer' to perform the installation again
Seeing this after upgrade to 17.10 as well:
$ sudo apt install ttf-mscorefonts -installer ts-installer -installer. mscorefonts- installer_ 3.6ubuntu2_ all.deb ... -installer (3.6ubuntu2) ... notifier- common (3.186) ... -installer: processing... -installer: downloading http:// downloads. sourceforge. net/corefonts/ andale32. exe downloads. sourceforge. net/corefonts/ andale32. exe downloads. sourceforge. net/mirrorprobl em?failedmirror =netcologne. dl.sourceforge. net' is forbidden /netcologne. dl.sourceforge. net/project/ corefonts/ the fonts/final/ andale32. exe Redirection from https to 'http:// downloads. sourceforge. net/mirrorprobl em?failedmirror =netcologne. dl.sourceforge. net' is forbidden -installer (3.6ubuntu2) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ttf-mscorefon
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/27,6 kB of archives.
After this operation, 94,2 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package ttf-mscorefonts
(Reading database ... 413816 files and directories currently installed.)
Preparing to unpack .../ttf-
Unpacking ttf-mscorefonts
Processing triggers for update-
ttf-mscorefonts
ttf-mscorefonts
Err:1 http://
Redirection from https to 'http://
E: Failed to fetch https:/
E: Download Failed
Setting up ttf-mscorefonts
Processing triggers for fontconfig (2.11.94-0ubuntu2) ...
The issue only happens when a HTTPS mirror fails and is redirected to a HTTP fallback; if I get a working HTTPS mirror, the fonts install correctly.
Manually wget-ting the files, running dpkg-reconfigure ttf-mscorefonts -installer and giving the path to the fonts sort of works - the fonts are installed, yet dpkg still complains about failed install, re-running dpkg-reconfigure ttf-mscorefonts -installer "fixes" this (the extractor seems enumerate the font files first, but then globs * anyway).
$ sudo dpkg-reconfigure ttf-mscorefonts -installer tmp/andale32. exe tmp/arial32. exe tmp/arialb32. exe tmp/comic32. exe tmp/courie32. exe tmp/georgi32. exe tmp/impact32. exe tmp/times32. exe tmp/trebuc32. exe tmp/verdan32. exe tmp/webdin32. exe
checking /home/user/
checking /home/user/
checking /home/user/
checking /home/user/
checking /home/user/
checking /home/user/
checking /home/user/
checking /home/user/
checking /home/user/
checking /home/user/
checking /home/user/
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.
/home/user/ tmp/build. log: no valid cabinets found
All done, errors in processing 1 file(s) tmp/andale32. exe
Extracting cabinet: /home/user/
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. tmp/arial32. exe
Extracting cabinet: /home/user/
extracting FONTINST.EXE
extracting fontinst.inf
extracting Ariali.TTF
extracting Arialbd.TTF
extracting Arialbi.TTF
extracting Arial.TTF
All done, no errors. tmp/arialb32. exe
Extracting cabinet: /home/user/
extracting fontinst.exe
extracting fontinst.inf
extracting AriBlk.TTF
All done, no errors. tmp/cache: Invalid argument
/home/user/
All done, errors in processing 1 file(s) tmp/comic32. exe
Extracting cabinet: /home/user/
extracting fontinst.inf
extracting Comicbd.TTF
extracting Comic.TTF
extracting fontinst.exe
All done, no errors. tmp/courie32. exe
Extracting cabinet: /home/user/
extracting cour.ttf
extracting courbd.ttf
extracting courbi.ttf
extracting fontinst.inf
extracting couri.ttf
extracting fontinst.exe
All done, no errors. tmp/georgi32. exe
Extracting cabinet: /home/user/
extracting fontinst.inf
extracting Georgiaz.TTF
extracting Georgiab.TTF
extracting Georgiai.TTF
extracting Georgia.TTF
extracting fontinst.exe
All done, no errors. tmp/impact32. exe
Extracting cabinet: /home/user/
extracting fontinst.exe
extracting Impact.TTF
extracting fontinst.inf
All done, no errors. tmp/times32. exe
Extracting cabinet: /home/user/
extracting fontinst.inf
extracting Times.TTF
extracting Timesbd.TTF
extracting Timesbi.TTF
extracting Timesi.TTF
extracting FONTINST.EXE
All done, no errors. tmp/trebuc32. exe
Extracting cabinet: /home/user/
extracting FONTINST.EXE
extracting trebuc.ttf
extracting Trebucbd.ttf
extracting trebucbi.ttf
extracting trebucit.ttf
extracting fontinst.inf
All done, no errors. tmp/verdan32. exe
Extracting cabinet: /home/user/
extracting fontinst.exe
extracting fontinst.inf
extracting Verdanab.TTF
extracting Verdanai.TTF
extracting Verdanaz.TTF
extracting Verdana.TTF
All done, no errors. tmp/webdin32. exe
Extracting cabinet: /home/user/
extracting fontinst.exe
extracting Webdings.TTF
extracting fontinst.inf
extracting Licen.TXT
All done, no errors. -installer' to perform the installation again
One or more fonts could not be extracted.
The fonts are NOT installed.
Please run 'dpkg-reconfigure ttf-mscorefonts