Comment 97 for bug 1607535

Revision history for this message
Jan Martinec (o-launchpad-piskvor-org) wrote :

Seeing this after upgrade to 17.10 as well:

$ 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).

$ sudo dpkg-reconfigure ttf-mscorefonts-installer
checking /home/user/tmp/andale32.exe
checking /home/user/tmp/arial32.exe
checking /home/user/tmp/arialb32.exe
checking /home/user/tmp/comic32.exe
checking /home/user/tmp/courie32.exe
checking /home/user/tmp/georgi32.exe
checking /home/user/tmp/impact32.exe
checking /home/user/tmp/times32.exe
checking /home/user/tmp/trebuc32.exe
checking /home/user/tmp/verdan32.exe
checking /home/user/tmp/webdin32.exe

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)
Extracting cabinet: /home/user/tmp/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: /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