2016-07-28 21:03:59 |
Robin |
bug |
|
|
added bug |
2016-07-28 21:38:18 |
Paul White |
affects |
ubuntu |
msttcorefonts (Ubuntu) |
|
2016-07-28 21:38:29 |
Paul White |
tags |
|
xenial |
|
2016-07-29 04:50:35 |
Launchpad Janitor |
msttcorefonts (Ubuntu): status |
New |
Confirmed |
|
2016-08-26 19:50:58 |
Alberto Salvia Novella |
msttcorefonts (Ubuntu): importance |
Undecided |
Medium |
|
2016-09-14 15:46:56 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Baltix GNU/Linux system developers |
2016-09-14 15:47:02 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Mantas Kriaučiūnas |
2016-09-16 16:02:20 |
dino99 |
tags |
xenial |
upgrade-software-version xenial yakkety |
|
2016-10-06 22:37:52 |
Brian Murray |
msttcorefonts (Ubuntu): status |
Confirmed |
Incomplete |
|
2016-10-07 13:54:11 |
dino99 |
msttcorefonts (Ubuntu): status |
Incomplete |
Confirmed |
|
2016-10-16 22:59:01 |
harrym |
bug |
|
|
added subscriber harrym |
2016-11-22 07:30:06 |
Viktor Szathmáry |
bug |
|
|
added subscriber Viktor Szathmáry |
2016-11-23 22:06:56 |
Oliver Sauder |
bug |
|
|
added subscriber Oliver Sauder |
2016-11-30 15:06:52 |
Matthew L. Dailey |
bug |
|
|
added subscriber Matthew L. Dailey |
2016-12-01 10:36:54 |
Mikko Pesari |
bug |
|
|
added subscriber Mikko Pesari |
2016-12-01 22:45:22 |
Paul White |
bug |
|
|
added subscriber Paul White |
2016-12-03 12:25:41 |
corvidism |
bug |
|
|
added subscriber corvidism |
2016-12-03 23:59:25 |
Locke |
bug |
|
|
added subscriber Locke |
2016-12-07 11:27:28 |
Lesley Binks |
bug |
|
|
added subscriber Lesley Binks |
2016-12-07 12:41:02 |
DEDan |
bug |
|
|
added subscriber DEDan |
2016-12-07 17:01:50 |
Andrew Elia |
bug |
|
|
added subscriber Andrew Elia |
2016-12-07 17:08:08 |
willy123 |
bug |
|
|
added subscriber willy123 |
2016-12-08 09:43:22 |
lobner |
bug |
|
|
added subscriber lobner |
2016-12-08 20:09:21 |
Kevin O'Gorman |
attachment added |
|
unnamed https://bugs.launchpad.net/bugs/1607535/+attachment/4789233/+files/unnamed |
|
2016-12-08 20:18:21 |
Kevin O'Gorman |
attachment added |
|
unnamed https://bugs.launchpad.net/bugs/1607535/+attachment/4789234/+files/unnamed |
|
2016-12-10 07:40:57 |
Markus Neubauer |
bug |
|
|
added subscriber Markus Neubauer |
2016-12-10 08:58:00 |
Peter Forward |
bug |
|
|
added subscriber Peter Forward |
2016-12-10 11:35:50 |
Alex |
bug |
|
|
added subscriber Alex |
2016-12-10 18:34:01 |
Juha Vainikka |
bug |
|
|
added subscriber Juha Vainikka |
2016-12-11 20:32:06 |
Damien Lecan |
bug |
|
|
added subscriber Damien Lecan |
2016-12-12 12:23:59 |
Svivi |
bug |
|
|
added subscriber Svivi |
2016-12-12 13:30:28 |
LEVEUGLE |
bug |
|
|
added subscriber LEVEUGLE |
2016-12-12 16:00:35 |
Svivi |
removed subscriber Svivi |
|
|
|
2016-12-12 23:32:34 |
JT Moree |
bug |
|
|
added subscriber JT Moree |
2016-12-14 07:30:23 |
Andriy Podranetskyy |
bug |
|
|
added subscriber Andriy Podranetskyy |
2016-12-16 17:14:29 |
Martin Kingsley |
bug |
|
|
added subscriber Martin Kingsley |
2016-12-17 22:28:43 |
Mossroy |
bug |
|
|
added subscriber Mossroy |
2016-12-18 18:35:31 |
Simon May |
bug |
|
|
added subscriber Simon May |
2016-12-18 21:15:05 |
Thomas Fischbach |
bug |
|
|
added subscriber Thomas Fischbach |
2016-12-19 09:08:11 |
Robert Hrovat |
bug |
|
|
added subscriber Robert Hrovat |
2016-12-23 16:13:18 |
Michael Alexander |
bug |
|
|
added subscriber Michael Alexander |
2016-12-27 00:08:41 |
paz |
bug |
|
|
added subscriber paz |
2016-12-31 11:29:07 |
bastien |
bug |
|
|
added subscriber bastien |
2017-01-03 12:27:18 |
Slava |
bug |
|
|
added subscriber Slava |
2017-01-03 19:31:52 |
Michael Gras |
bug |
|
|
added subscriber Michael Gras |
2017-01-03 23:16:02 |
pdz |
bug |
|
|
added subscriber pdz |
2017-01-06 03:12:57 |
Francis Chin |
bug |
|
|
added subscriber Francis Chin |
2017-01-07 04:22:41 |
Thomas Mayer |
bug |
|
|
added subscriber Thomas Mayer |
2017-01-07 12:30:23 |
Gérald Sédrati-Dinet (Gibus) |
bug |
|
|
added subscriber Gérald Sédrati-Dinet (Gibus) |
2017-01-08 19:55:51 |
Naël |
bug |
|
|
added subscriber Nathanaël Naeri |
2017-01-08 20:43:00 |
rpr nospam |
bug |
|
|
added subscriber rpr nospam |
2017-01-08 21:46:01 |
Stephan Springer |
bug |
|
|
added subscriber Stephan Springer |
2017-01-08 22:36:53 |
James Womack |
bug |
|
|
added subscriber James Womack |
2017-01-09 12:36:03 |
Peter Mühlenpfordt |
bug |
|
|
added subscriber aardvark |
2017-01-09 19:43:34 |
ATIpro |
bug |
|
|
added subscriber ATIpro |
2017-01-11 12:31:07 |
Larry Sherk |
bug |
|
|
added subscriber Larry Sherk |
2017-01-11 12:31:56 |
Larry Sherk |
removed subscriber Larry Sherk |
|
|
|
2017-01-11 12:32:10 |
Larry Sherk |
bug |
|
|
added subscriber Larry Sherk |
2017-01-11 12:33:01 |
Benjamin Heil |
bug |
|
|
added subscriber Benjamin Heil |
2017-01-12 19:33:11 |
Luis Teixeira |
bug |
|
|
added subscriber Luis Teixeira |
2017-01-12 22:07:46 |
Jeremy Bícha |
marked as duplicate |
|
1651923 |
|
2017-01-12 22:33:55 |
Paul White |
removed subscriber Paul White |
|
|
|
2017-01-13 10:55:57 |
Aaron B. Russell |
bug |
|
|
added subscriber Aaron B. Russell |
2017-01-13 16:36:35 |
Naël |
summary |
ttf-mscorefonts-installer 3.4+nmu1ubuntu2 fails to install core fonts and should be updated to version 3.6 from Debian |
ttf-mscorefonts-installer 3.4+nmu1ubuntu2 fails to install core fonts |
|
2017-01-14 01:56:16 |
Naël |
removed duplicate marker |
1651923 |
|
|
2017-01-14 01:57:43 |
Naël |
tags |
upgrade-software-version xenial yakkety |
xenial yakkety |
|
2017-01-14 02:05:58 |
Naël |
description |
As noted in https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1371783/comments/45, the current 3.4 version of ttf-mscorefonts-installer searches for the font files in an incorrect network location. The consequence of this is that the core fonts are never installed.
The Debian (upstream) version 3.6 of ttf-mscorefonts-installer searches for the font files in the correct network location, and will successfully install the core fonts.
This problem occurs with Ubuntu 16.04 as of July 2016. (And with earlier versions, including current LTS.) |
[Symptoms]
When installing or updating the package ttf-mscorefonts-installer in Ubuntu 16.04 or 16.10, an error message appears in a GUI window, indicating "failure to download extra data files" (the fonts themselves) "after package installation" (the package itself appears to have been installed). This error message re-appears regularly, as a cron-job re-tries the failed download.
If installing or updating from the command line, additional failure information is given in an error message prefixed by "E:", but this error message depends on the mirror server which is contacted for the download: "404 Not Found" is common, but there is also "Protocol http not supported or disabled in libcurl", and complains about invalid Content-Range headers.
[Cause]
The current 3.4 version of ttf-mscorefonts-installer in Ubuntu 16.04 delegates the download of the proprietary Microsoft Core Fonts for the Web (Andale, Arial...) to the package update-notifier, which itself delegates it to the program apt-helper provided by the package apt. The download URL points to the host downloads.sourceforge.net, which redirects to a randomly-chosen mirror server <mirror>.dl.sourceforge.net.
Unfortunately, the program apt-helper has a bug in the way it treats redirections. This bug makes apt-helper keep a space in the URL instead of encoding it to %20 before contacting the mirror. It is more extensively documented in bug 1655431 and bug 1651923. The mirror replies to this malformed request with an error message (e.g. "404 Not Found"), and download fails.
Some mirrors appear to understand the malformed request nonetheless, and send the requested font file, however since there are 11 fonts to download, the chances of getting 11 understanding mirrors are low. Hence why the error message usually concerns andale32.exe or arial32.exe instead of webdin32.exe.
[Workaround 1]
Download the fonts manually and put them all in the same directory. You can use wget for that, because contrary to apt-helper, it handles redirections fine (command line formatted for readability, do not include line breaks and line indents):
$ wget http://downloads.sourceforge.net/corefonts/
{andale32.exe,arial32.exe,arialb32.exe,comic32.exe,courie32.exe,
georgi32.exe,impact32.exe,times32.exe,trebuc32.exe,verdan32.exe,
webdin32.exe}
Or you can use your browser: point it to https://sourceforge.net/projects/corefonts/files/the%20fonts/final and download the same files.
Make sure the package is purged and no remaining setup triggers are remaining, using your favorite package manager or command-line APT:
$ sudo apt-get purge ttf-mscorefonts-installer
Then reinstall the package, this time pointing to the previously-downloaded fonts in a second step:
$ sudo apt-get install ttf-mscorefonts-installer
# (this will most likely fail again)
$ sudo dpkg-reconfigure ttf-mscorefonts-installer
The second command should return a "graphical" interface in the terminal. Use it to point to the directory where you downloaded the fonts (/path/to/directory/containing/the/fonts). Make sure no .deb files are in this directory, they seem to be picked up too and then it fails.
If a pop-up shows up for a post-install action later, just let it run, it shouldn't come back. It may triggered by the file /var/lib/update-notifier/user.d/data-downloads-failed and you may be successful in avoiding the regularly-reappearing message by removing this file. But this point is less clear.
Once everything is working, you can delete the downloaded fonts in .exe format, they have been uncompressed and installed in /usr/share/fonts/truetype/msttcorefonts in .ttf format.
Adapted from: Vincent Gerris (comment 17), Lesley Binks (comment 18).
[Workaround 2]
Remove Ubuntu's version of ttf-mscorefonts-installer and install Debian's version instead. Indeed, Debian's version uses wget to download the fonts, and contrary to apt-helper, wget handles redirections fine.
Download the package from https://packages.debian.org/ttf-mscorefonts-installer. Version 3.6 has been tested by several users. This workaround should work with Debian's version 3.4+nmu1 too, but then you'd be prompted to update to Ubuntu's problematic version 3.4+nmu1ubuntu2 next time you update your packages.
To download the package with wget (command line formatted for readability, do not include line break and line indent):
$ wget http://httpredir.debian.org/debian/pool/contrib/m/
msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
Purge your currently-installed Ubuntu version of the package using your favorite package manager or command-line APT, and install the Debian version with dpkg:
$ sudo apt-get purge ttf-mscorefonts-installer
$ sudo dpkg --install /path/to/ttf-mscorefonts-installer_3.6_all.deb
You should keep the deb-file around, so when this bug is fixed in Ubuntu 16.04 and 16.10, you can uninstall Debian's version of the package and go back to Ubuntu's version:
$ sudo dpkg --purge /path/to/ttf-mscorefonts-installer_3.6_all.deb
$ sudo apt-get install ttf-mscorefonts-installer
Adapted from: yas (comment 19), Richard Elkins (comment 40)
[Fix]
The bug was fixed by Julian Klode in version 1.4~beta3ubuntu1 of package apt for the upcoming 17.04 release, see bug 1651923 comments 24 25. If everything works fine in the development release, Julian may backport his fix to the previous 16.04 and 16.10 releases, but this process currently takes a few weeks to a few months.
Subscribe to this bug and bug 1651923 to follow on the progress.
This bug used to be a duplicate of bug 1651923, but was temporarily de-duplicated to hopefully make it easier for people to find it, instead of reporting the issue as a new bug. Otherwise, duplicates are hidden. |
|
2017-01-14 02:07:34 |
Naël |
msttcorefonts (Ubuntu): status |
Confirmed |
In Progress |
|
2017-01-14 07:11:40 |
Andrew Elia |
removed subscriber Andrew Elia |
|
|
|
2017-01-15 11:55:01 |
dregad |
bug |
|
|
added subscriber dregad |
2017-01-16 15:24:18 |
Manuel Casanova |
bug |
|
|
added subscriber Manuel Casanova |
2017-01-16 15:24:27 |
Manuel Casanova |
removed subscriber Manuel Casanova |
|
|
|
2017-01-16 15:24:36 |
Manuel Casanova |
bug |
|
|
added subscriber Manuel Casanova |
2017-01-17 09:25:53 |
Matthias Burtscher |
bug |
|
|
added subscriber Matthias Burtscher |
2017-01-19 16:43:17 |
John Avery |
bug |
|
|
added subscriber John Avery |
2017-01-19 21:58:45 |
jcv |
bug |
|
|
added subscriber jcv |
2017-01-22 03:03:27 |
Shane Synan |
bug |
|
|
added subscriber Shane Synan |
2017-01-25 17:01:44 |
Sebastian |
bug |
|
|
added subscriber Sebastian |
2017-01-26 17:16:45 |
Dries Deschout |
bug |
|
|
added subscriber Dries |
2017-02-03 07:22:59 |
Jm |
bug |
|
|
added subscriber Jm |
2017-02-05 04:14:12 |
Naël |
msttcorefonts (Ubuntu): status |
In Progress |
Fix Released |
|
2017-02-05 04:34:02 |
Naël |
description |
[Symptoms]
When installing or updating the package ttf-mscorefonts-installer in Ubuntu 16.04 or 16.10, an error message appears in a GUI window, indicating "failure to download extra data files" (the fonts themselves) "after package installation" (the package itself appears to have been installed). This error message re-appears regularly, as a cron-job re-tries the failed download.
If installing or updating from the command line, additional failure information is given in an error message prefixed by "E:", but this error message depends on the mirror server which is contacted for the download: "404 Not Found" is common, but there is also "Protocol http not supported or disabled in libcurl", and complains about invalid Content-Range headers.
[Cause]
The current 3.4 version of ttf-mscorefonts-installer in Ubuntu 16.04 delegates the download of the proprietary Microsoft Core Fonts for the Web (Andale, Arial...) to the package update-notifier, which itself delegates it to the program apt-helper provided by the package apt. The download URL points to the host downloads.sourceforge.net, which redirects to a randomly-chosen mirror server <mirror>.dl.sourceforge.net.
Unfortunately, the program apt-helper has a bug in the way it treats redirections. This bug makes apt-helper keep a space in the URL instead of encoding it to %20 before contacting the mirror. It is more extensively documented in bug 1655431 and bug 1651923. The mirror replies to this malformed request with an error message (e.g. "404 Not Found"), and download fails.
Some mirrors appear to understand the malformed request nonetheless, and send the requested font file, however since there are 11 fonts to download, the chances of getting 11 understanding mirrors are low. Hence why the error message usually concerns andale32.exe or arial32.exe instead of webdin32.exe.
[Workaround 1]
Download the fonts manually and put them all in the same directory. You can use wget for that, because contrary to apt-helper, it handles redirections fine (command line formatted for readability, do not include line breaks and line indents):
$ wget http://downloads.sourceforge.net/corefonts/
{andale32.exe,arial32.exe,arialb32.exe,comic32.exe,courie32.exe,
georgi32.exe,impact32.exe,times32.exe,trebuc32.exe,verdan32.exe,
webdin32.exe}
Or you can use your browser: point it to https://sourceforge.net/projects/corefonts/files/the%20fonts/final and download the same files.
Make sure the package is purged and no remaining setup triggers are remaining, using your favorite package manager or command-line APT:
$ sudo apt-get purge ttf-mscorefonts-installer
Then reinstall the package, this time pointing to the previously-downloaded fonts in a second step:
$ sudo apt-get install ttf-mscorefonts-installer
# (this will most likely fail again)
$ sudo dpkg-reconfigure ttf-mscorefonts-installer
The second command should return a "graphical" interface in the terminal. Use it to point to the directory where you downloaded the fonts (/path/to/directory/containing/the/fonts). Make sure no .deb files are in this directory, they seem to be picked up too and then it fails.
If a pop-up shows up for a post-install action later, just let it run, it shouldn't come back. It may triggered by the file /var/lib/update-notifier/user.d/data-downloads-failed and you may be successful in avoiding the regularly-reappearing message by removing this file. But this point is less clear.
Once everything is working, you can delete the downloaded fonts in .exe format, they have been uncompressed and installed in /usr/share/fonts/truetype/msttcorefonts in .ttf format.
Adapted from: Vincent Gerris (comment 17), Lesley Binks (comment 18).
[Workaround 2]
Remove Ubuntu's version of ttf-mscorefonts-installer and install Debian's version instead. Indeed, Debian's version uses wget to download the fonts, and contrary to apt-helper, wget handles redirections fine.
Download the package from https://packages.debian.org/ttf-mscorefonts-installer. Version 3.6 has been tested by several users. This workaround should work with Debian's version 3.4+nmu1 too, but then you'd be prompted to update to Ubuntu's problematic version 3.4+nmu1ubuntu2 next time you update your packages.
To download the package with wget (command line formatted for readability, do not include line break and line indent):
$ wget http://httpredir.debian.org/debian/pool/contrib/m/
msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
Purge your currently-installed Ubuntu version of the package using your favorite package manager or command-line APT, and install the Debian version with dpkg:
$ sudo apt-get purge ttf-mscorefonts-installer
$ sudo dpkg --install /path/to/ttf-mscorefonts-installer_3.6_all.deb
You should keep the deb-file around, so when this bug is fixed in Ubuntu 16.04 and 16.10, you can uninstall Debian's version of the package and go back to Ubuntu's version:
$ sudo dpkg --purge /path/to/ttf-mscorefonts-installer_3.6_all.deb
$ sudo apt-get install ttf-mscorefonts-installer
Adapted from: yas (comment 19), Richard Elkins (comment 40)
[Fix]
The bug was fixed by Julian Klode in version 1.4~beta3ubuntu1 of package apt for the upcoming 17.04 release, see bug 1651923 comments 24 25. If everything works fine in the development release, Julian may backport his fix to the previous 16.04 and 16.10 releases, but this process currently takes a few weeks to a few months.
Subscribe to this bug and bug 1651923 to follow on the progress.
This bug used to be a duplicate of bug 1651923, but was temporarily de-duplicated to hopefully make it easier for people to find it, instead of reporting the issue as a new bug. Otherwise, duplicates are hidden. |
[Symptoms]
When installing or updating the package ttf-mscorefonts-installer in Ubuntu 16.04 or 16.10, an error message appears in a GUI window, indicating "failure to download extra data files" (the fonts themselves) "after package installation" (the package itself appears to have been installed). This error message re-appears regularly, as a cron-job re-tries the failed download.
If installing or updating from the command line, additional failure information is given in an error message prefixed by "E:", but this error message depends on the mirror server which is contacted for the download: "404 Not Found" is common, but there is also "Protocol http not supported or disabled in libcurl", and complains about invalid Content-Range headers.
[Cause]
The current 3.4 version of ttf-mscorefonts-installer in Ubuntu 16.04 delegates the download of the proprietary Microsoft Core Fonts for the Web (Andale, Arial...) to the package update-notifier, which itself delegates it to the program apt-helper provided by the package apt. The download URL points to the host downloads.sourceforge.net, which redirects to a randomly-chosen mirror server <mirror>.dl.sourceforge.net.
Unfortunately, the program apt-helper has a bug in the way it treats redirections. This bug makes apt-helper keep a space in the URL instead of encoding it to %20 before contacting the mirror. It is more extensively documented in bug 1655431 and bug 1651923. The mirror replies to this malformed request with an error message (e.g. "404 Not Found"), and download fails.
Some mirrors appear to understand the malformed request nonetheless, and send the requested font file, however since there are 11 fonts to download, the chances of getting 11 understanding mirrors are low. Hence why the error message usually concerns andale32.exe or arial32.exe instead of webdin32.exe.
[Workaround 1]
Download the fonts manually and put them all in the same directory. You can use wget for that, because contrary to apt-helper, it handles redirections fine (command line formatted for readability, do not include line breaks and line indents):
$ wget http://downloads.sourceforge.net/corefonts/
{andale32.exe,arial32.exe,arialb32.exe,comic32.exe,courie32.exe,
georgi32.exe,impact32.exe,times32.exe,trebuc32.exe,verdan32.exe,
webdin32.exe}
Or you can use your browser: point it to https://sourceforge.net/projects/corefonts/files/the%20fonts/final and download the same files.
Make sure the package is purged and no remaining setup triggers are remaining, using your favorite package manager or command-line APT:
$ sudo apt-get purge ttf-mscorefonts-installer
Then reinstall the package, this time pointing to the previously-downloaded fonts in a second step:
$ sudo apt-get install ttf-mscorefonts-installer
# (this will most likely fail again)
$ sudo dpkg-reconfigure ttf-mscorefonts-installer
The second command should return a "graphical" interface in the terminal. Use it to point to the directory where you downloaded the fonts (/path/to/directory/containing/the/fonts). Make sure no .deb files are in this directory, they seem to be picked up too and then it fails.
If a pop-up shows up for a post-install action later, just let it run, it shouldn't come back. It may triggered by the file /var/lib/update-notifier/user.d/data-downloads-failed and you may be successful in avoiding the regularly-reappearing message by removing this file. But this point is less clear.
Once everything is working, you can delete the downloaded fonts in .exe format, they have been uncompressed and installed in /usr/share/fonts/truetype/msttcorefonts in .ttf format.
Adapted from: Vincent Gerris (comment 17), Lesley Binks (comment 18).
[Workaround 2]
Remove Ubuntu's version of ttf-mscorefonts-installer and install Debian's version instead. Indeed, Debian's version uses wget to download the fonts, and contrary to apt-helper, wget handles redirections fine.
Download the package from https://packages.debian.org/ttf-mscorefonts-installer. Version 3.6 has been tested by several users. This workaround should work with Debian's version 3.4+nmu1 too, but then you'd be prompted to update to Ubuntu's problematic version 3.4+nmu1ubuntu2 next time you update your packages.
To download the package with wget (command line formatted for readability, do not include line break and line indent):
$ wget http://httpredir.debian.org/debian/pool/contrib/m/
msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
Purge your currently-installed Ubuntu version of the package using your favorite package manager or command-line APT, and install the Debian version with dpkg:
$ sudo apt-get purge ttf-mscorefonts-installer
$ sudo dpkg --install /path/to/ttf-mscorefonts-installer_3.6_all.deb
You should keep the deb-file around, so when this bug is fixed in Ubuntu 16.04 and 16.10, you can uninstall Debian's version of the package and go back to Ubuntu's version:
$ sudo dpkg --purge /path/to/ttf-mscorefonts-installer_3.6_all.deb
$ sudo apt-get install ttf-mscorefonts-installer
Adapted from: yas (comment 19), Richard Elkins (comment 40)
[Fix]
The bug was fixed by Julian Klode in package apt-transport-https 1.4~beta3ubuntu1, released 2017-01-11, for the upcoming 17.04 (zesty) release, see bug 1651923 comments 24 25.
The fix was backported to apt-transport-https 1.3.4 and 1.2.19, released 2017-01-26, for the previous 16.10 (yakkety) and 16.04 (xenial) releases, respectively, see bug 1651923 comments 57 58.
If you are still affected by it, update apt-transport-https to the appropriate version and reinstall Ubuntu's version of ttf-mscorefonts-installer. You should remove Debian's version of ttf-mscorefonts-installer beforehand, if you installed it for workaround 2 above:
$ sudo dpkg --purge /path/to/ttf-mscorefonts-installer_3.6_all.deb
If you run into Content-Range errors when reinstalling ttf-mscorefonts-installer, remove the downloaded fonts in /var/lib/update-notifier/package-data-downloads/partial/ and try again. This is a different bug, also fixed recently, but not backported to Xenial and Yakkety yet (bug 1657567).
This bug used to be a duplicate of bug 1651923, but it is currently de-duplicated to hopefully make it easier for people to find it, instead of reporting the issue as a new bug. Otherwise, duplicates are hidden. |
|
2017-02-06 22:40:17 |
Naël |
description |
[Symptoms]
When installing or updating the package ttf-mscorefonts-installer in Ubuntu 16.04 or 16.10, an error message appears in a GUI window, indicating "failure to download extra data files" (the fonts themselves) "after package installation" (the package itself appears to have been installed). This error message re-appears regularly, as a cron-job re-tries the failed download.
If installing or updating from the command line, additional failure information is given in an error message prefixed by "E:", but this error message depends on the mirror server which is contacted for the download: "404 Not Found" is common, but there is also "Protocol http not supported or disabled in libcurl", and complains about invalid Content-Range headers.
[Cause]
The current 3.4 version of ttf-mscorefonts-installer in Ubuntu 16.04 delegates the download of the proprietary Microsoft Core Fonts for the Web (Andale, Arial...) to the package update-notifier, which itself delegates it to the program apt-helper provided by the package apt. The download URL points to the host downloads.sourceforge.net, which redirects to a randomly-chosen mirror server <mirror>.dl.sourceforge.net.
Unfortunately, the program apt-helper has a bug in the way it treats redirections. This bug makes apt-helper keep a space in the URL instead of encoding it to %20 before contacting the mirror. It is more extensively documented in bug 1655431 and bug 1651923. The mirror replies to this malformed request with an error message (e.g. "404 Not Found"), and download fails.
Some mirrors appear to understand the malformed request nonetheless, and send the requested font file, however since there are 11 fonts to download, the chances of getting 11 understanding mirrors are low. Hence why the error message usually concerns andale32.exe or arial32.exe instead of webdin32.exe.
[Workaround 1]
Download the fonts manually and put them all in the same directory. You can use wget for that, because contrary to apt-helper, it handles redirections fine (command line formatted for readability, do not include line breaks and line indents):
$ wget http://downloads.sourceforge.net/corefonts/
{andale32.exe,arial32.exe,arialb32.exe,comic32.exe,courie32.exe,
georgi32.exe,impact32.exe,times32.exe,trebuc32.exe,verdan32.exe,
webdin32.exe}
Or you can use your browser: point it to https://sourceforge.net/projects/corefonts/files/the%20fonts/final and download the same files.
Make sure the package is purged and no remaining setup triggers are remaining, using your favorite package manager or command-line APT:
$ sudo apt-get purge ttf-mscorefonts-installer
Then reinstall the package, this time pointing to the previously-downloaded fonts in a second step:
$ sudo apt-get install ttf-mscorefonts-installer
# (this will most likely fail again)
$ sudo dpkg-reconfigure ttf-mscorefonts-installer
The second command should return a "graphical" interface in the terminal. Use it to point to the directory where you downloaded the fonts (/path/to/directory/containing/the/fonts). Make sure no .deb files are in this directory, they seem to be picked up too and then it fails.
If a pop-up shows up for a post-install action later, just let it run, it shouldn't come back. It may triggered by the file /var/lib/update-notifier/user.d/data-downloads-failed and you may be successful in avoiding the regularly-reappearing message by removing this file. But this point is less clear.
Once everything is working, you can delete the downloaded fonts in .exe format, they have been uncompressed and installed in /usr/share/fonts/truetype/msttcorefonts in .ttf format.
Adapted from: Vincent Gerris (comment 17), Lesley Binks (comment 18).
[Workaround 2]
Remove Ubuntu's version of ttf-mscorefonts-installer and install Debian's version instead. Indeed, Debian's version uses wget to download the fonts, and contrary to apt-helper, wget handles redirections fine.
Download the package from https://packages.debian.org/ttf-mscorefonts-installer. Version 3.6 has been tested by several users. This workaround should work with Debian's version 3.4+nmu1 too, but then you'd be prompted to update to Ubuntu's problematic version 3.4+nmu1ubuntu2 next time you update your packages.
To download the package with wget (command line formatted for readability, do not include line break and line indent):
$ wget http://httpredir.debian.org/debian/pool/contrib/m/
msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
Purge your currently-installed Ubuntu version of the package using your favorite package manager or command-line APT, and install the Debian version with dpkg:
$ sudo apt-get purge ttf-mscorefonts-installer
$ sudo dpkg --install /path/to/ttf-mscorefonts-installer_3.6_all.deb
You should keep the deb-file around, so when this bug is fixed in Ubuntu 16.04 and 16.10, you can uninstall Debian's version of the package and go back to Ubuntu's version:
$ sudo dpkg --purge /path/to/ttf-mscorefonts-installer_3.6_all.deb
$ sudo apt-get install ttf-mscorefonts-installer
Adapted from: yas (comment 19), Richard Elkins (comment 40)
[Fix]
The bug was fixed by Julian Klode in package apt-transport-https 1.4~beta3ubuntu1, released 2017-01-11, for the upcoming 17.04 (zesty) release, see bug 1651923 comments 24 25.
The fix was backported to apt-transport-https 1.3.4 and 1.2.19, released 2017-01-26, for the previous 16.10 (yakkety) and 16.04 (xenial) releases, respectively, see bug 1651923 comments 57 58.
If you are still affected by it, update apt-transport-https to the appropriate version and reinstall Ubuntu's version of ttf-mscorefonts-installer. You should remove Debian's version of ttf-mscorefonts-installer beforehand, if you installed it for workaround 2 above:
$ sudo dpkg --purge /path/to/ttf-mscorefonts-installer_3.6_all.deb
If you run into Content-Range errors when reinstalling ttf-mscorefonts-installer, remove the downloaded fonts in /var/lib/update-notifier/package-data-downloads/partial/ and try again. This is a different bug, also fixed recently, but not backported to Xenial and Yakkety yet (bug 1657567).
This bug used to be a duplicate of bug 1651923, but it is currently de-duplicated to hopefully make it easier for people to find it, instead of reporting the issue as a new bug. Otherwise, duplicates are hidden. |
[Symptoms]
When installing or updating the package ttf-mscorefonts-installer in Ubuntu 16.04 or 16.10, an error message appears in a GUI window, indicating "failure to download extra data files" (the fonts themselves) "after package installation" (the package itself appears to have been installed). This error message re-appears regularly, as a cron-job re-tries the failed download.
If installing or updating from the command line, additional failure information is given in an error message prefixed by "E:", but this error message depends on the mirror server which is contacted for the download: "404 Not Found" is common, but there is also "Protocol http not supported or disabled in libcurl", and complains about invalid Content-Range headers.
[Cause]
The current 3.4 version of ttf-mscorefonts-installer in Ubuntu 16.04 delegates the download of the proprietary Microsoft Core Fonts for the Web (Andale, Arial...) to the package update-notifier, which itself delegates it to the program apt-helper provided by the package apt. The download URL points to the host downloads.sourceforge.net, which redirects to a randomly-chosen mirror server <mirror>.dl.sourceforge.net.
Unfortunately, the program apt-helper has a bug in the way it treats redirections. This bug makes apt-helper keep a space in the URL instead of encoding it to %20 before contacting the mirror. It is more extensively documented in bug 1655431 and bug 1651923. The mirror replies to this malformed request with an error message (e.g. "404 Not Found"), and download fails.
Some mirrors appear to understand the malformed request nonetheless, and send the requested font file, however since there are 11 fonts to download, the chances of getting 11 understanding mirrors are low. Hence why the error message usually concerns andale32.exe or arial32.exe instead of webdin32.exe.
[Workaround 1]
Download the fonts manually and put them all in the same directory. You can use wget for that, because contrary to apt-helper, it handles redirections fine (command line formatted for readability, do not include line breaks and line indents):
$ wget http://downloads.sourceforge.net/corefonts/
{andale32.exe,arial32.exe,arialb32.exe,comic32.exe,courie32.exe,
georgi32.exe,impact32.exe,times32.exe,trebuc32.exe,verdan32.exe,
webdin32.exe}
Or you can use your browser: point it to https://sourceforge.net/projects/corefonts/files/the%20fonts/final and download the same files.
Make sure the package is purged and no remaining setup triggers are remaining, using your favorite package manager or command-line APT:
$ sudo apt-get purge ttf-mscorefonts-installer
Then reinstall the package, this time pointing to the previously-downloaded fonts in a second step:
$ sudo apt-get install ttf-mscorefonts-installer
# (this will most likely fail again)
$ sudo dpkg-reconfigure ttf-mscorefonts-installer
The second command should return a "graphical" interface in the terminal. Use it to point to the directory where you downloaded the fonts (/path/to/directory/containing/the/fonts). Make sure no .deb files are in this directory, they seem to be picked up too and then it fails.
If a pop-up shows up for a post-install action later, just let it run, it shouldn't come back. It may triggered by the file /var/lib/update-notifier/user.d/data-downloads-failed and you may be successful in avoiding the regularly-reappearing message by removing this file. But this point is less clear.
Once everything is working, you can delete the downloaded fonts in .exe format, they have been uncompressed and installed in /usr/share/fonts/truetype/msttcorefonts in .ttf format.
Adapted from: Vincent Gerris (comment 17), Lesley Binks (comment 18).
[Workaround 2]
Remove Ubuntu's version of ttf-mscorefonts-installer and install Debian's version instead. Indeed, Debian's version uses wget to download the fonts, and contrary to apt-helper, wget handles redirections fine.
Download the package from https://packages.debian.org/ttf-mscorefonts-installer. Version 3.6 has been tested by several users. This workaround should work with Debian's version 3.4+nmu1 too, but then you'd be prompted to update to Ubuntu's problematic version 3.4+nmu1ubuntu2 next time you update your packages.
To download the package with wget (command line formatted for readability, do not include line break and line indent):
$ wget http://httpredir.debian.org/debian/pool/contrib/m/
msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
Purge your currently-installed Ubuntu version of the package using your favorite package manager or command-line APT, and install the Debian version with dpkg:
$ sudo apt-get purge ttf-mscorefonts-installer
$ sudo dpkg --install /path/to/ttf-mscorefonts-installer_3.6_all.deb
You should keep the deb-file around, so when this bug is fixed in Ubuntu 16.04 and 16.10, you can uninstall Debian's version of the package and go back to Ubuntu's version:
$ sudo dpkg --purge /path/to/ttf-mscorefonts-installer_3.6_all.deb
$ sudo apt-get install ttf-mscorefonts-installer
Adapted from: yas (comment 19), Richard Elkins (comment 40)
[Fix]
The bug was fixed by Julian Klode in package apt-transport-https 1.4~beta3ubuntu1, released 2017-01-11, for the upcoming 17.04 (zesty) release, see bug 1651923 comments 24 25.
The fix was backported to apt-transport-https 1.3.4 and 1.2.19, released 2017-01-26, for the previous 16.10 (yakkety) and 16.04 (xenial) releases, respectively, see bug 1651923 comments 57 58.
If you are still affected by it, update apt-transport-https to the appropriate version and reinstall Ubuntu's version of ttf-mscorefonts-installer. You should remove Debian's version of ttf-mscorefonts-installer beforehand, if you installed it for workaround 2 above:
$ sudo dpkg --purge ttf-mscorefonts-installer
If you run into Content-Range errors when reinstalling ttf-mscorefonts-installer, remove the downloaded fonts in /var/lib/update-notifier/package-data-downloads/partial/ and try again. This is a different bug, also fixed recently, but not backported to Xenial and Yakkety yet (bug 1657567).
This bug used to be a duplicate of bug 1651923, but it is currently de-duplicated to hopefully make it easier for people to find it, instead of reporting the issue as a new bug. Otherwise, duplicates are hidden. |
|
2017-02-06 22:41:42 |
Naël |
description |
[Symptoms]
When installing or updating the package ttf-mscorefonts-installer in Ubuntu 16.04 or 16.10, an error message appears in a GUI window, indicating "failure to download extra data files" (the fonts themselves) "after package installation" (the package itself appears to have been installed). This error message re-appears regularly, as a cron-job re-tries the failed download.
If installing or updating from the command line, additional failure information is given in an error message prefixed by "E:", but this error message depends on the mirror server which is contacted for the download: "404 Not Found" is common, but there is also "Protocol http not supported or disabled in libcurl", and complains about invalid Content-Range headers.
[Cause]
The current 3.4 version of ttf-mscorefonts-installer in Ubuntu 16.04 delegates the download of the proprietary Microsoft Core Fonts for the Web (Andale, Arial...) to the package update-notifier, which itself delegates it to the program apt-helper provided by the package apt. The download URL points to the host downloads.sourceforge.net, which redirects to a randomly-chosen mirror server <mirror>.dl.sourceforge.net.
Unfortunately, the program apt-helper has a bug in the way it treats redirections. This bug makes apt-helper keep a space in the URL instead of encoding it to %20 before contacting the mirror. It is more extensively documented in bug 1655431 and bug 1651923. The mirror replies to this malformed request with an error message (e.g. "404 Not Found"), and download fails.
Some mirrors appear to understand the malformed request nonetheless, and send the requested font file, however since there are 11 fonts to download, the chances of getting 11 understanding mirrors are low. Hence why the error message usually concerns andale32.exe or arial32.exe instead of webdin32.exe.
[Workaround 1]
Download the fonts manually and put them all in the same directory. You can use wget for that, because contrary to apt-helper, it handles redirections fine (command line formatted for readability, do not include line breaks and line indents):
$ wget http://downloads.sourceforge.net/corefonts/
{andale32.exe,arial32.exe,arialb32.exe,comic32.exe,courie32.exe,
georgi32.exe,impact32.exe,times32.exe,trebuc32.exe,verdan32.exe,
webdin32.exe}
Or you can use your browser: point it to https://sourceforge.net/projects/corefonts/files/the%20fonts/final and download the same files.
Make sure the package is purged and no remaining setup triggers are remaining, using your favorite package manager or command-line APT:
$ sudo apt-get purge ttf-mscorefonts-installer
Then reinstall the package, this time pointing to the previously-downloaded fonts in a second step:
$ sudo apt-get install ttf-mscorefonts-installer
# (this will most likely fail again)
$ sudo dpkg-reconfigure ttf-mscorefonts-installer
The second command should return a "graphical" interface in the terminal. Use it to point to the directory where you downloaded the fonts (/path/to/directory/containing/the/fonts). Make sure no .deb files are in this directory, they seem to be picked up too and then it fails.
If a pop-up shows up for a post-install action later, just let it run, it shouldn't come back. It may triggered by the file /var/lib/update-notifier/user.d/data-downloads-failed and you may be successful in avoiding the regularly-reappearing message by removing this file. But this point is less clear.
Once everything is working, you can delete the downloaded fonts in .exe format, they have been uncompressed and installed in /usr/share/fonts/truetype/msttcorefonts in .ttf format.
Adapted from: Vincent Gerris (comment 17), Lesley Binks (comment 18).
[Workaround 2]
Remove Ubuntu's version of ttf-mscorefonts-installer and install Debian's version instead. Indeed, Debian's version uses wget to download the fonts, and contrary to apt-helper, wget handles redirections fine.
Download the package from https://packages.debian.org/ttf-mscorefonts-installer. Version 3.6 has been tested by several users. This workaround should work with Debian's version 3.4+nmu1 too, but then you'd be prompted to update to Ubuntu's problematic version 3.4+nmu1ubuntu2 next time you update your packages.
To download the package with wget (command line formatted for readability, do not include line break and line indent):
$ wget http://httpredir.debian.org/debian/pool/contrib/m/
msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
Purge your currently-installed Ubuntu version of the package using your favorite package manager or command-line APT, and install the Debian version with dpkg:
$ sudo apt-get purge ttf-mscorefonts-installer
$ sudo dpkg --install /path/to/ttf-mscorefonts-installer_3.6_all.deb
You should keep the deb-file around, so when this bug is fixed in Ubuntu 16.04 and 16.10, you can uninstall Debian's version of the package and go back to Ubuntu's version:
$ sudo dpkg --purge /path/to/ttf-mscorefonts-installer_3.6_all.deb
$ sudo apt-get install ttf-mscorefonts-installer
Adapted from: yas (comment 19), Richard Elkins (comment 40)
[Fix]
The bug was fixed by Julian Klode in package apt-transport-https 1.4~beta3ubuntu1, released 2017-01-11, for the upcoming 17.04 (zesty) release, see bug 1651923 comments 24 25.
The fix was backported to apt-transport-https 1.3.4 and 1.2.19, released 2017-01-26, for the previous 16.10 (yakkety) and 16.04 (xenial) releases, respectively, see bug 1651923 comments 57 58.
If you are still affected by it, update apt-transport-https to the appropriate version and reinstall Ubuntu's version of ttf-mscorefonts-installer. You should remove Debian's version of ttf-mscorefonts-installer beforehand, if you installed it for workaround 2 above:
$ sudo dpkg --purge ttf-mscorefonts-installer
If you run into Content-Range errors when reinstalling ttf-mscorefonts-installer, remove the downloaded fonts in /var/lib/update-notifier/package-data-downloads/partial/ and try again. This is a different bug, also fixed recently, but not backported to Xenial and Yakkety yet (bug 1657567).
This bug used to be a duplicate of bug 1651923, but it is currently de-duplicated to hopefully make it easier for people to find it, instead of reporting the issue as a new bug. Otherwise, duplicates are hidden. |
[Symptoms]
When installing or updating the package ttf-mscorefonts-installer in Ubuntu 16.04 or 16.10, an error message appears in a GUI window, indicating "failure to download extra data files" (the fonts themselves) "after package installation" (the package itself appears to have been installed). This error message re-appears regularly, as a cron-job re-tries the failed download.
If installing or updating from the command line, additional failure information is given in an error message prefixed by "E:", but this error message depends on the mirror server which is contacted for the download: "404 Not Found" is common, but there is also "Protocol http not supported or disabled in libcurl", and complains about invalid Content-Range headers.
[Cause]
The current 3.4 version of ttf-mscorefonts-installer in Ubuntu 16.04 delegates the download of the proprietary Microsoft Core Fonts for the Web (Andale, Arial...) to the package update-notifier, which itself delegates it to the program apt-helper provided by the package apt. The download URL points to the host downloads.sourceforge.net, which redirects to a randomly-chosen mirror server <mirror>.dl.sourceforge.net.
Unfortunately, the program apt-helper has a bug in the way it treats redirections. This bug makes apt-helper keep a space in the URL instead of encoding it to %20 before contacting the mirror. It is more extensively documented in bug 1655431 and bug 1651923. The mirror replies to this malformed request with an error message (e.g. "404 Not Found"), and download fails.
Some mirrors appear to understand the malformed request nonetheless, and send the requested font file, however since there are 11 fonts to download, the chances of getting 11 understanding mirrors are low. Hence why the error message usually concerns andale32.exe or arial32.exe instead of webdin32.exe.
[Workaround 1]
Download the fonts manually and put them all in the same directory. You can use wget for that, because contrary to apt-helper, it handles redirections fine (command line formatted for readability, do not include line breaks and line indents):
$ wget http://downloads.sourceforge.net/corefonts/
{andale32.exe,arial32.exe,arialb32.exe,comic32.exe,courie32.exe,
georgi32.exe,impact32.exe,times32.exe,trebuc32.exe,verdan32.exe,
webdin32.exe}
Or you can use your browser: point it to https://sourceforge.net/projects/corefonts/files/the%20fonts/final and download the same files.
Make sure the package is purged and no remaining setup triggers are remaining, using your favorite package manager or command-line APT:
$ sudo apt-get purge ttf-mscorefonts-installer
Then reinstall the package, this time pointing to the previously-downloaded fonts in a second step:
$ sudo apt-get install ttf-mscorefonts-installer
# (this will most likely fail again)
$ sudo dpkg-reconfigure ttf-mscorefonts-installer
The second command should return a "graphical" interface in the terminal. Use it to point to the directory where you downloaded the fonts (/path/to/directory/containing/the/fonts). Make sure no .deb files are in this directory, they seem to be picked up too and then it fails.
If a pop-up shows up for a post-install action later, just let it run, it shouldn't come back. It may triggered by the file /var/lib/update-notifier/user.d/data-downloads-failed and you may be successful in avoiding the regularly-reappearing message by removing this file. But this point is less clear.
Once everything is working, you can delete the downloaded fonts in .exe format, they have been uncompressed and installed in /usr/share/fonts/truetype/msttcorefonts in .ttf format.
Adapted from: Vincent Gerris (comment 17), Lesley Binks (comment 18).
[Workaround 2]
Remove Ubuntu's version of ttf-mscorefonts-installer and install Debian's version instead. Indeed, Debian's version uses wget to download the fonts, and contrary to apt-helper, wget handles redirections fine.
Download the package from https://packages.debian.org/ttf-mscorefonts-installer. Version 3.6 has been tested by several users. This workaround should work with Debian's version 3.4+nmu1 too, but then you'd be prompted to update to Ubuntu's problematic version 3.4+nmu1ubuntu2 next time you update your packages.
To download the package with wget (command line formatted for readability, do not include line break and line indent):
$ wget http://httpredir.debian.org/debian/pool/contrib/m/
msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
Purge your currently-installed Ubuntu version of the package using your favorite package manager or command-line APT, and install the Debian version with dpkg:
$ sudo apt-get purge ttf-mscorefonts-installer
$ sudo dpkg --install /path/to/ttf-mscorefonts-installer_3.6_all.deb
When this bug is fixed in Ubuntu 16.04 and 16.10, you can uninstall Debian's version of the package and go back to Ubuntu's version:
$ sudo dpkg --purge ttf-mscorefonts-installer
$ sudo apt-get install ttf-mscorefonts-installer
Adapted from: yas (comment 19), Richard Elkins (comment 40)
[Fix]
The bug was fixed by Julian Klode in package apt-transport-https 1.4~beta3ubuntu1, released 2017-01-11, for the upcoming 17.04 (zesty) release, see bug 1651923 comments 24 25.
The fix was backported to apt-transport-https 1.3.4 and 1.2.19, released 2017-01-26, for the previous 16.10 (yakkety) and 16.04 (xenial) releases, respectively, see bug 1651923 comments 57 58.
If you are still affected by it, update apt-transport-https to the appropriate version and reinstall Ubuntu's version of ttf-mscorefonts-installer. You should remove Debian's version of ttf-mscorefonts-installer beforehand, if you installed it for workaround 2 above:
$ sudo dpkg --purge ttf-mscorefonts-installer
If you run into Content-Range errors when reinstalling ttf-mscorefonts-installer, remove the downloaded fonts in /var/lib/update-notifier/package-data-downloads/partial/ and try again. This is a different bug, also fixed recently, but not backported to Xenial and Yakkety yet (bug 1657567).
This bug used to be a duplicate of bug 1651923, but it is currently de-duplicated to hopefully make it easier for people to find it, instead of reporting the issue as a new bug. Otherwise, duplicates are hidden. |
|
2017-02-07 12:15:27 |
Naël |
removed subscriber Nathanaël Naeri |
|
|
|
2017-02-17 16:17:14 |
kent |
removed subscriber kent |
|
|
|
2017-02-17 16:17:24 |
kent |
bug |
|
|
added subscriber kent |
2017-02-17 16:17:57 |
kent |
removed subscriber kent |
|
|
|
2017-02-17 16:18:20 |
kent |
bug |
|
|
added subscriber kent |
2017-02-17 16:18:37 |
kent |
removed subscriber kent |
|
|
|
2017-02-17 16:18:54 |
kent |
bug |
|
|
added subscriber kent |
2017-02-17 16:19:04 |
kent |
removed subscriber kent |
|
|
|
2017-02-21 14:48:05 |
Naël |
description |
[Symptoms]
When installing or updating the package ttf-mscorefonts-installer in Ubuntu 16.04 or 16.10, an error message appears in a GUI window, indicating "failure to download extra data files" (the fonts themselves) "after package installation" (the package itself appears to have been installed). This error message re-appears regularly, as a cron-job re-tries the failed download.
If installing or updating from the command line, additional failure information is given in an error message prefixed by "E:", but this error message depends on the mirror server which is contacted for the download: "404 Not Found" is common, but there is also "Protocol http not supported or disabled in libcurl", and complains about invalid Content-Range headers.
[Cause]
The current 3.4 version of ttf-mscorefonts-installer in Ubuntu 16.04 delegates the download of the proprietary Microsoft Core Fonts for the Web (Andale, Arial...) to the package update-notifier, which itself delegates it to the program apt-helper provided by the package apt. The download URL points to the host downloads.sourceforge.net, which redirects to a randomly-chosen mirror server <mirror>.dl.sourceforge.net.
Unfortunately, the program apt-helper has a bug in the way it treats redirections. This bug makes apt-helper keep a space in the URL instead of encoding it to %20 before contacting the mirror. It is more extensively documented in bug 1655431 and bug 1651923. The mirror replies to this malformed request with an error message (e.g. "404 Not Found"), and download fails.
Some mirrors appear to understand the malformed request nonetheless, and send the requested font file, however since there are 11 fonts to download, the chances of getting 11 understanding mirrors are low. Hence why the error message usually concerns andale32.exe or arial32.exe instead of webdin32.exe.
[Workaround 1]
Download the fonts manually and put them all in the same directory. You can use wget for that, because contrary to apt-helper, it handles redirections fine (command line formatted for readability, do not include line breaks and line indents):
$ wget http://downloads.sourceforge.net/corefonts/
{andale32.exe,arial32.exe,arialb32.exe,comic32.exe,courie32.exe,
georgi32.exe,impact32.exe,times32.exe,trebuc32.exe,verdan32.exe,
webdin32.exe}
Or you can use your browser: point it to https://sourceforge.net/projects/corefonts/files/the%20fonts/final and download the same files.
Make sure the package is purged and no remaining setup triggers are remaining, using your favorite package manager or command-line APT:
$ sudo apt-get purge ttf-mscorefonts-installer
Then reinstall the package, this time pointing to the previously-downloaded fonts in a second step:
$ sudo apt-get install ttf-mscorefonts-installer
# (this will most likely fail again)
$ sudo dpkg-reconfigure ttf-mscorefonts-installer
The second command should return a "graphical" interface in the terminal. Use it to point to the directory where you downloaded the fonts (/path/to/directory/containing/the/fonts). Make sure no .deb files are in this directory, they seem to be picked up too and then it fails.
If a pop-up shows up for a post-install action later, just let it run, it shouldn't come back. It may triggered by the file /var/lib/update-notifier/user.d/data-downloads-failed and you may be successful in avoiding the regularly-reappearing message by removing this file. But this point is less clear.
Once everything is working, you can delete the downloaded fonts in .exe format, they have been uncompressed and installed in /usr/share/fonts/truetype/msttcorefonts in .ttf format.
Adapted from: Vincent Gerris (comment 17), Lesley Binks (comment 18).
[Workaround 2]
Remove Ubuntu's version of ttf-mscorefonts-installer and install Debian's version instead. Indeed, Debian's version uses wget to download the fonts, and contrary to apt-helper, wget handles redirections fine.
Download the package from https://packages.debian.org/ttf-mscorefonts-installer. Version 3.6 has been tested by several users. This workaround should work with Debian's version 3.4+nmu1 too, but then you'd be prompted to update to Ubuntu's problematic version 3.4+nmu1ubuntu2 next time you update your packages.
To download the package with wget (command line formatted for readability, do not include line break and line indent):
$ wget http://httpredir.debian.org/debian/pool/contrib/m/
msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
Purge your currently-installed Ubuntu version of the package using your favorite package manager or command-line APT, and install the Debian version with dpkg:
$ sudo apt-get purge ttf-mscorefonts-installer
$ sudo dpkg --install /path/to/ttf-mscorefonts-installer_3.6_all.deb
When this bug is fixed in Ubuntu 16.04 and 16.10, you can uninstall Debian's version of the package and go back to Ubuntu's version:
$ sudo dpkg --purge ttf-mscorefonts-installer
$ sudo apt-get install ttf-mscorefonts-installer
Adapted from: yas (comment 19), Richard Elkins (comment 40)
[Fix]
The bug was fixed by Julian Klode in package apt-transport-https 1.4~beta3ubuntu1, released 2017-01-11, for the upcoming 17.04 (zesty) release, see bug 1651923 comments 24 25.
The fix was backported to apt-transport-https 1.3.4 and 1.2.19, released 2017-01-26, for the previous 16.10 (yakkety) and 16.04 (xenial) releases, respectively, see bug 1651923 comments 57 58.
If you are still affected by it, update apt-transport-https to the appropriate version and reinstall Ubuntu's version of ttf-mscorefonts-installer. You should remove Debian's version of ttf-mscorefonts-installer beforehand, if you installed it for workaround 2 above:
$ sudo dpkg --purge ttf-mscorefonts-installer
If you run into Content-Range errors when reinstalling ttf-mscorefonts-installer, remove the downloaded fonts in /var/lib/update-notifier/package-data-downloads/partial/ and try again. This is a different bug, also fixed recently, but not backported to Xenial and Yakkety yet (bug 1657567).
This bug used to be a duplicate of bug 1651923, but it is currently de-duplicated to hopefully make it easier for people to find it, instead of reporting the issue as a new bug. Otherwise, duplicates are hidden. |
[Symptoms]
When installing or updating the package ttf-mscorefonts-installer in Ubuntu 16.04 or 16.10, an error message appears in a GUI window, indicating "failure to download extra data files" (the fonts themselves) "after package installation" (the package itself appears to have been installed). This error message re-appears regularly, as a cron-job re-tries the failed download.
If installing or updating from the command line, additional failure information is given in an error message prefixed by "E:", but this error message depends on the mirror server which is contacted for the download: "404 Not Found" is common, but there is also "Protocol http not supported or disabled in libcurl", and complains about invalid Content-Range headers.
[Cause]
The current 3.4 version of ttf-mscorefonts-installer in Ubuntu 16.04 delegates the download of the proprietary Microsoft Core Fonts for the Web (Andale, Arial...) to the package update-notifier, which itself delegates it to the program apt-helper provided by the package apt. The download URL points to the host downloads.sourceforge.net, which redirects to a randomly-chosen mirror server <mirror>.dl.sourceforge.net.
Unfortunately, the program apt-helper has a bug in the way it treats redirections. This bug makes apt-helper keep a space in the URL instead of encoding it to %20 before contacting the mirror. It is more extensively documented in bug 1655431 and bug 1651923. The mirror replies to this malformed request with an error message (e.g. "404 Not Found"), and download fails.
Some mirrors appear to understand the malformed request nonetheless, and send the requested font file, however since there are 11 fonts to download, the chances of getting 11 understanding mirrors are low. Hence why the error message usually concerns andale32.exe or arial32.exe instead of webdin32.exe.
[Workaround 1]
Download the fonts manually and put them all in the same directory. You can use wget for that, because contrary to apt-helper, it handles redirections fine (command line formatted for readability, do not include line breaks and line indents):
$ wget http://downloads.sourceforge.net/corefonts/
{andale32.exe,arial32.exe,arialb32.exe,comic32.exe,courie32.exe,
georgi32.exe,impact32.exe,times32.exe,trebuc32.exe,verdan32.exe,
webdin32.exe}
Or you can use your browser: point it to https://sourceforge.net/projects/corefonts/files/the%20fonts/final and download the same files.
Make sure the package is purged and no remaining setup triggers are remaining, using your favorite package manager or command-line APT:
$ sudo apt-get purge ttf-mscorefonts-installer
Then reinstall the package, this time pointing to the previously-downloaded fonts in a second step:
$ sudo apt-get install ttf-mscorefonts-installer
# (this will most likely fail again)
$ sudo dpkg-reconfigure ttf-mscorefonts-installer
The second command should return a "graphical" interface in the terminal. Use it to point to the directory where you downloaded the fonts (/path/to/directory/containing/the/fonts). Make sure no .deb files are in this directory, they seem to be picked up too and then it fails.
If a pop-up shows up for a post-install action later, just let it run, it shouldn't come back. It may triggered by the file /var/lib/update-notifier/user.d/data-downloads-failed and you may be successful in avoiding the regularly-reappearing message by removing this file. But this point is less clear.
Once everything is working, you can delete the downloaded fonts in .exe format, they have been uncompressed and installed in /usr/share/fonts/truetype/msttcorefonts in .ttf format.
Adapted from: Vincent Gerris (comment 17), Lesley Binks (comment 18).
[Workaround 2]
Remove Ubuntu's version of ttf-mscorefonts-installer and install Debian's version instead. Indeed, Debian's version uses wget to download the fonts, and contrary to apt-helper, wget handles redirections fine.
Download the package from https://packages.debian.org/ttf-mscorefonts-installer. Version 3.6 has been tested by several users. This workaround should work with Debian's version 3.4+nmu1 too, but then you'd be prompted to update to Ubuntu's problematic version 3.4+nmu1ubuntu2 next time you update your packages.
To download the package with wget (command line formatted for readability, do not include line break and line indent):
$ wget http://httpredir.debian.org/debian/pool/contrib/m/
msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
Purge your currently-installed Ubuntu version of the package using your favorite package manager or command-line APT, and install the Debian version with dpkg:
$ sudo apt-get purge ttf-mscorefonts-installer
$ sudo dpkg --install /path/to/ttf-mscorefonts-installer_3.6_all.deb
When this bug is fixed in Ubuntu 16.04 and 16.10, you can uninstall Debian's version of the package and go back to Ubuntu's version:
$ sudo dpkg --purge ttf-mscorefonts-installer
$ sudo apt-get install ttf-mscorefonts-installer
Adapted from: yas (comment 19), Richard Elkins (comment 40)
[Fix]
The bug was fixed by Julian Klode in package apt-transport-https 1.4~beta3ubuntu1, released 2017-01-11, for the upcoming 17.04 (zesty) release, see bug 1651923 comments 24 25.
The fix was backported to apt-transport-https 1.3.4 and 1.2.19, released 2017-01-26, for the previous 16.10 (yakkety) and 16.04 (xenial) releases, respectively, see bug 1651923 comments 57 58.
If you are still affected by it, update apt-transport-https to the appropriate version and reinstall Ubuntu's version of ttf-mscorefonts-installer. Reinstalling is necessary or the daily error message won't go away, see bug 1654573 comment 12. You should remove Debian's version of ttf-mscorefonts-installer beforehand, if you installed it for workaround 2 above:
$ sudo dpkg --purge ttf-mscorefonts-installer
If you run into Content-Range errors when reinstalling ttf-mscorefonts-installer, remove the downloaded fonts in /var/lib/update-notifier/package-data-downloads/partial/ and try again. This is a different bug, also fixed recently, but not backported to Xenial and Yakkety yet (bug 1657567).
This bug used to be a duplicate of bug 1651923, but it is currently de-duplicated to hopefully make it easier for people to find it, instead of reporting the issue as a new bug. Otherwise, duplicates are hidden. |
|
2017-02-22 02:53:12 |
Naël |
description |
[Symptoms]
When installing or updating the package ttf-mscorefonts-installer in Ubuntu 16.04 or 16.10, an error message appears in a GUI window, indicating "failure to download extra data files" (the fonts themselves) "after package installation" (the package itself appears to have been installed). This error message re-appears regularly, as a cron-job re-tries the failed download.
If installing or updating from the command line, additional failure information is given in an error message prefixed by "E:", but this error message depends on the mirror server which is contacted for the download: "404 Not Found" is common, but there is also "Protocol http not supported or disabled in libcurl", and complains about invalid Content-Range headers.
[Cause]
The current 3.4 version of ttf-mscorefonts-installer in Ubuntu 16.04 delegates the download of the proprietary Microsoft Core Fonts for the Web (Andale, Arial...) to the package update-notifier, which itself delegates it to the program apt-helper provided by the package apt. The download URL points to the host downloads.sourceforge.net, which redirects to a randomly-chosen mirror server <mirror>.dl.sourceforge.net.
Unfortunately, the program apt-helper has a bug in the way it treats redirections. This bug makes apt-helper keep a space in the URL instead of encoding it to %20 before contacting the mirror. It is more extensively documented in bug 1655431 and bug 1651923. The mirror replies to this malformed request with an error message (e.g. "404 Not Found"), and download fails.
Some mirrors appear to understand the malformed request nonetheless, and send the requested font file, however since there are 11 fonts to download, the chances of getting 11 understanding mirrors are low. Hence why the error message usually concerns andale32.exe or arial32.exe instead of webdin32.exe.
[Workaround 1]
Download the fonts manually and put them all in the same directory. You can use wget for that, because contrary to apt-helper, it handles redirections fine (command line formatted for readability, do not include line breaks and line indents):
$ wget http://downloads.sourceforge.net/corefonts/
{andale32.exe,arial32.exe,arialb32.exe,comic32.exe,courie32.exe,
georgi32.exe,impact32.exe,times32.exe,trebuc32.exe,verdan32.exe,
webdin32.exe}
Or you can use your browser: point it to https://sourceforge.net/projects/corefonts/files/the%20fonts/final and download the same files.
Make sure the package is purged and no remaining setup triggers are remaining, using your favorite package manager or command-line APT:
$ sudo apt-get purge ttf-mscorefonts-installer
Then reinstall the package, this time pointing to the previously-downloaded fonts in a second step:
$ sudo apt-get install ttf-mscorefonts-installer
# (this will most likely fail again)
$ sudo dpkg-reconfigure ttf-mscorefonts-installer
The second command should return a "graphical" interface in the terminal. Use it to point to the directory where you downloaded the fonts (/path/to/directory/containing/the/fonts). Make sure no .deb files are in this directory, they seem to be picked up too and then it fails.
If a pop-up shows up for a post-install action later, just let it run, it shouldn't come back. It may triggered by the file /var/lib/update-notifier/user.d/data-downloads-failed and you may be successful in avoiding the regularly-reappearing message by removing this file. But this point is less clear.
Once everything is working, you can delete the downloaded fonts in .exe format, they have been uncompressed and installed in /usr/share/fonts/truetype/msttcorefonts in .ttf format.
Adapted from: Vincent Gerris (comment 17), Lesley Binks (comment 18).
[Workaround 2]
Remove Ubuntu's version of ttf-mscorefonts-installer and install Debian's version instead. Indeed, Debian's version uses wget to download the fonts, and contrary to apt-helper, wget handles redirections fine.
Download the package from https://packages.debian.org/ttf-mscorefonts-installer. Version 3.6 has been tested by several users. This workaround should work with Debian's version 3.4+nmu1 too, but then you'd be prompted to update to Ubuntu's problematic version 3.4+nmu1ubuntu2 next time you update your packages.
To download the package with wget (command line formatted for readability, do not include line break and line indent):
$ wget http://httpredir.debian.org/debian/pool/contrib/m/
msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
Purge your currently-installed Ubuntu version of the package using your favorite package manager or command-line APT, and install the Debian version with dpkg:
$ sudo apt-get purge ttf-mscorefonts-installer
$ sudo dpkg --install /path/to/ttf-mscorefonts-installer_3.6_all.deb
When this bug is fixed in Ubuntu 16.04 and 16.10, you can uninstall Debian's version of the package and go back to Ubuntu's version:
$ sudo dpkg --purge ttf-mscorefonts-installer
$ sudo apt-get install ttf-mscorefonts-installer
Adapted from: yas (comment 19), Richard Elkins (comment 40)
[Fix]
The bug was fixed by Julian Klode in package apt-transport-https 1.4~beta3ubuntu1, released 2017-01-11, for the upcoming 17.04 (zesty) release, see bug 1651923 comments 24 25.
The fix was backported to apt-transport-https 1.3.4 and 1.2.19, released 2017-01-26, for the previous 16.10 (yakkety) and 16.04 (xenial) releases, respectively, see bug 1651923 comments 57 58.
If you are still affected by it, update apt-transport-https to the appropriate version and reinstall Ubuntu's version of ttf-mscorefonts-installer. Reinstalling is necessary or the daily error message won't go away, see bug 1654573 comment 12. You should remove Debian's version of ttf-mscorefonts-installer beforehand, if you installed it for workaround 2 above:
$ sudo dpkg --purge ttf-mscorefonts-installer
If you run into Content-Range errors when reinstalling ttf-mscorefonts-installer, remove the downloaded fonts in /var/lib/update-notifier/package-data-downloads/partial/ and try again. This is a different bug, also fixed recently, but not backported to Xenial and Yakkety yet (bug 1657567).
This bug used to be a duplicate of bug 1651923, but it is currently de-duplicated to hopefully make it easier for people to find it, instead of reporting the issue as a new bug. Otherwise, duplicates are hidden. |
[Symptoms]
When installing or updating the package ttf-mscorefonts-installer in Ubuntu 16.04 or 16.10, an error message appears in a GUI window, indicating "failure to download extra data files" (the fonts themselves) "after package installation" (the package itself appears to have been installed). This error message re-appears regularly, as a cron-job re-tries the failed download.
If installing or updating from the command line, additional failure information is given in an error message prefixed by "E:", but this error message depends on the mirror server which is contacted for the download: "404 Not Found" is common, but there is also "Protocol http not supported or disabled in libcurl", and complains about invalid Content-Range headers.
[Cause]
The current 3.4 version of ttf-mscorefonts-installer in Ubuntu 16.04 delegates the download of the proprietary Microsoft Core Fonts for the Web (Andale, Arial...) to the package update-notifier, which itself delegates it to the program apt-helper provided by the package apt. The download URL points to the host downloads.sourceforge.net, which redirects to a randomly-chosen mirror server <mirror>.dl.sourceforge.net.
Unfortunately, the program apt-helper has a bug in the way it treats redirections. This bug makes apt-helper keep a space in the URL instead of encoding it to %20 before contacting the mirror. It is more extensively documented in bug 1655431 and bug 1651923. The mirror replies to this malformed request with an error message (e.g. "404 Not Found"), and download fails.
Some mirrors appear to understand the malformed request nonetheless, and send the requested font file, however since there are 11 fonts to download, the chances of getting 11 understanding mirrors are low. Hence why the error message usually concerns andale32.exe or arial32.exe instead of webdin32.exe.
[Workaround 1]
Download the fonts manually and put them all in the same directory. You can use wget for that, because contrary to apt-helper, it handles redirections fine (command line formatted for readability, do not include line breaks and line indents):
$ wget http://downloads.sourceforge.net/corefonts/
{andale32.exe,arial32.exe,arialb32.exe,comic32.exe,courie32.exe,
georgi32.exe,impact32.exe,times32.exe,trebuc32.exe,verdan32.exe,
webdin32.exe}
Or you can use your browser: point it to https://sourceforge.net/projects/corefonts/files/the%20fonts/final and download the same files.
Make sure the package is purged and no remaining setup triggers are remaining, using your favorite package manager or command-line APT:
$ sudo apt-get purge ttf-mscorefonts-installer
Then reinstall the package, this time pointing to the previously-downloaded fonts in a second step:
$ sudo apt-get install ttf-mscorefonts-installer
# (this will most likely fail again)
$ sudo dpkg-reconfigure ttf-mscorefonts-installer
The second command should return a "graphical" interface in the terminal. Use it to point to the directory where you downloaded the fonts (/path/to/directory/containing/the/fonts). Make sure no .deb files are in this directory, they seem to be picked up too and then it fails.
If a pop-up shows up for a post-install action later, just let it run, it shouldn't come back. It may triggered by the file /var/lib/update-notifier/user.d/data-downloads-failed and you may be successful in avoiding the regularly-reappearing message by removing this file. But this point is less clear.
Once everything is working, you can delete the downloaded fonts in .exe format, they have been uncompressed and installed in /usr/share/fonts/truetype/msttcorefonts in .ttf format.
Adapted from: Vincent Gerris (comment 17), Lesley Binks (comment 18).
[Workaround 2]
Remove Ubuntu's version of ttf-mscorefonts-installer and install Debian's version instead. Indeed, Debian's version uses wget to download the fonts, and contrary to apt-helper, wget handles redirections fine.
Download the package from https://packages.debian.org/ttf-mscorefonts-installer. Version 3.6 has been tested by several users. This workaround should work with Debian's version 3.4+nmu1 too, but then you'd be prompted to update to Ubuntu's problematic version 3.4+nmu1ubuntu2 next time you update your packages.
To download the package with wget (command line formatted for readability, do not include line break and line indent):
$ wget http://httpredir.debian.org/debian/pool/contrib/m/
msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
Purge your currently-installed Ubuntu version of the package using your favorite package manager or command-line APT, and install the Debian version with dpkg:
$ sudo apt-get purge ttf-mscorefonts-installer
$ sudo dpkg --install /path/to/ttf-mscorefonts-installer_3.6_all.deb
When this bug is fixed in Ubuntu 16.04 and 16.10, you can uninstall Debian's version of the package and go back to Ubuntu's version:
$ sudo dpkg --purge ttf-mscorefonts-installer
$ sudo apt-get install ttf-mscorefonts-installer
Adapted from: yas (comment 19), Richard Elkins (comment 40)
[Fix]
The bug was fixed by Julian Klode in package apt-transport-https 1.4~beta3ubuntu1, released 2017-01-11, for the upcoming 17.04 (zesty) release, see bug 1651923 comments 24 25.
The fix was backported to apt-transport-https 1.3.4 and 1.2.19, released 2017-01-26, for the previous 16.10 (yakkety) and 16.04 (xenial) releases, respectively, see bug 1651923 comments 57 58.
If you are still affected by it, update apt-transport-https to the appropriate version and reinstall Ubuntu's version of ttf-mscorefonts-installer. Reinstalling is necessary or the daily error message won't go away, see bug 1654573 comment 12. You should remove Debian's version of ttf-mscorefonts-installer beforehand, if you installed it for workaround 2 above:
$ sudo dpkg --purge ttf-mscorefonts-installer
If you run into Content-Range errors when reinstalling ttf-mscorefonts-installer, remove the downloaded fonts in /var/lib/update-notifier/package-data-downloads/partial/ and try again. This is a different bug, also fixed recently, but not backported to Xenial and Yakkety yet (bug 1657567).
You may also run into warnings about a user _apt and their privileges: these are non-blocking and don't impact the successful download and installation of the fonts, as you can check at the end of the installation log. They have been reported in several other bug reports (e.g. bug 1658707), but not investigated yet.
This bug used to be a duplicate of bug 1651923, but it is currently de-duplicated to hopefully make it easier for people to find it, instead of reporting the issue as a new bug. Otherwise, duplicates are hidden. |
|
2017-02-22 06:17:59 |
Graeme Hewson |
bug |
|
|
added subscriber Graeme Hewson |
2017-03-16 07:54:53 |
Graeme Hewson |
removed subscriber Graeme Hewson |
|
|
|
2017-03-16 13:03:04 |
Elias Kouskoumvekakis |
removed subscriber Elias Kouskoumvekakis |
|
|
|
2017-03-16 18:42:42 |
Lee Donaghy |
bug |
|
|
added subscriber Lee Donaghy |
2017-03-16 19:58:19 |
luca |
bug |
|
|
added subscriber luca |
2017-03-16 19:58:48 |
luca |
removed subscriber luca |
|
|
|
2017-04-24 06:12:50 |
Thomas Nemeth |
bug |
|
|
added subscriber Thomas Nemeth |
2017-04-24 06:13:21 |
Thomas Nemeth |
removed subscriber Thomas Nemeth |
|
|
|
2017-05-24 15:11:28 |
Naël |
description |
[Symptoms]
When installing or updating the package ttf-mscorefonts-installer in Ubuntu 16.04 or 16.10, an error message appears in a GUI window, indicating "failure to download extra data files" (the fonts themselves) "after package installation" (the package itself appears to have been installed). This error message re-appears regularly, as a cron-job re-tries the failed download.
If installing or updating from the command line, additional failure information is given in an error message prefixed by "E:", but this error message depends on the mirror server which is contacted for the download: "404 Not Found" is common, but there is also "Protocol http not supported or disabled in libcurl", and complains about invalid Content-Range headers.
[Cause]
The current 3.4 version of ttf-mscorefonts-installer in Ubuntu 16.04 delegates the download of the proprietary Microsoft Core Fonts for the Web (Andale, Arial...) to the package update-notifier, which itself delegates it to the program apt-helper provided by the package apt. The download URL points to the host downloads.sourceforge.net, which redirects to a randomly-chosen mirror server <mirror>.dl.sourceforge.net.
Unfortunately, the program apt-helper has a bug in the way it treats redirections. This bug makes apt-helper keep a space in the URL instead of encoding it to %20 before contacting the mirror. It is more extensively documented in bug 1655431 and bug 1651923. The mirror replies to this malformed request with an error message (e.g. "404 Not Found"), and download fails.
Some mirrors appear to understand the malformed request nonetheless, and send the requested font file, however since there are 11 fonts to download, the chances of getting 11 understanding mirrors are low. Hence why the error message usually concerns andale32.exe or arial32.exe instead of webdin32.exe.
[Workaround 1]
Download the fonts manually and put them all in the same directory. You can use wget for that, because contrary to apt-helper, it handles redirections fine (command line formatted for readability, do not include line breaks and line indents):
$ wget http://downloads.sourceforge.net/corefonts/
{andale32.exe,arial32.exe,arialb32.exe,comic32.exe,courie32.exe,
georgi32.exe,impact32.exe,times32.exe,trebuc32.exe,verdan32.exe,
webdin32.exe}
Or you can use your browser: point it to https://sourceforge.net/projects/corefonts/files/the%20fonts/final and download the same files.
Make sure the package is purged and no remaining setup triggers are remaining, using your favorite package manager or command-line APT:
$ sudo apt-get purge ttf-mscorefonts-installer
Then reinstall the package, this time pointing to the previously-downloaded fonts in a second step:
$ sudo apt-get install ttf-mscorefonts-installer
# (this will most likely fail again)
$ sudo dpkg-reconfigure ttf-mscorefonts-installer
The second command should return a "graphical" interface in the terminal. Use it to point to the directory where you downloaded the fonts (/path/to/directory/containing/the/fonts). Make sure no .deb files are in this directory, they seem to be picked up too and then it fails.
If a pop-up shows up for a post-install action later, just let it run, it shouldn't come back. It may triggered by the file /var/lib/update-notifier/user.d/data-downloads-failed and you may be successful in avoiding the regularly-reappearing message by removing this file. But this point is less clear.
Once everything is working, you can delete the downloaded fonts in .exe format, they have been uncompressed and installed in /usr/share/fonts/truetype/msttcorefonts in .ttf format.
Adapted from: Vincent Gerris (comment 17), Lesley Binks (comment 18).
[Workaround 2]
Remove Ubuntu's version of ttf-mscorefonts-installer and install Debian's version instead. Indeed, Debian's version uses wget to download the fonts, and contrary to apt-helper, wget handles redirections fine.
Download the package from https://packages.debian.org/ttf-mscorefonts-installer. Version 3.6 has been tested by several users. This workaround should work with Debian's version 3.4+nmu1 too, but then you'd be prompted to update to Ubuntu's problematic version 3.4+nmu1ubuntu2 next time you update your packages.
To download the package with wget (command line formatted for readability, do not include line break and line indent):
$ wget http://httpredir.debian.org/debian/pool/contrib/m/
msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
Purge your currently-installed Ubuntu version of the package using your favorite package manager or command-line APT, and install the Debian version with dpkg:
$ sudo apt-get purge ttf-mscorefonts-installer
$ sudo dpkg --install /path/to/ttf-mscorefonts-installer_3.6_all.deb
When this bug is fixed in Ubuntu 16.04 and 16.10, you can uninstall Debian's version of the package and go back to Ubuntu's version:
$ sudo dpkg --purge ttf-mscorefonts-installer
$ sudo apt-get install ttf-mscorefonts-installer
Adapted from: yas (comment 19), Richard Elkins (comment 40)
[Fix]
The bug was fixed by Julian Klode in package apt-transport-https 1.4~beta3ubuntu1, released 2017-01-11, for the upcoming 17.04 (zesty) release, see bug 1651923 comments 24 25.
The fix was backported to apt-transport-https 1.3.4 and 1.2.19, released 2017-01-26, for the previous 16.10 (yakkety) and 16.04 (xenial) releases, respectively, see bug 1651923 comments 57 58.
If you are still affected by it, update apt-transport-https to the appropriate version and reinstall Ubuntu's version of ttf-mscorefonts-installer. Reinstalling is necessary or the daily error message won't go away, see bug 1654573 comment 12. You should remove Debian's version of ttf-mscorefonts-installer beforehand, if you installed it for workaround 2 above:
$ sudo dpkg --purge ttf-mscorefonts-installer
If you run into Content-Range errors when reinstalling ttf-mscorefonts-installer, remove the downloaded fonts in /var/lib/update-notifier/package-data-downloads/partial/ and try again. This is a different bug, also fixed recently, but not backported to Xenial and Yakkety yet (bug 1657567).
You may also run into warnings about a user _apt and their privileges: these are non-blocking and don't impact the successful download and installation of the fonts, as you can check at the end of the installation log. They have been reported in several other bug reports (e.g. bug 1658707), but not investigated yet.
This bug used to be a duplicate of bug 1651923, but it is currently de-duplicated to hopefully make it easier for people to find it, instead of reporting the issue as a new bug. Otherwise, duplicates are hidden. |
[Symptoms]
When installing or updating the package ttf-mscorefonts-installer in Ubuntu 16.04 or 16.10, an error message appears in a GUI window, indicating "failure to download extra data files" (the fonts themselves) "after package installation" (the package itself appears to have been installed). This error message re-appears regularly, as a cron-job re-tries the failed download.
If installing or updating from the command line, additional failure information is given in an error message prefixed by "E:", but this error message depends on the mirror server which is contacted for the download: "404 Not Found" is common, but there is also "Protocol http not supported or disabled in libcurl", and complains about invalid Content-Range headers.
[Cause]
The current 3.4 version of ttf-mscorefonts-installer in Ubuntu 16.04 delegates the download of the proprietary Microsoft Core Fonts for the Web (Andale, Arial...) to the package update-notifier, which itself delegates it to the program apt-helper provided by the package apt. The download URL points to the host downloads.sourceforge.net, which redirects to a randomly-chosen mirror server <mirror>.dl.sourceforge.net.
Unfortunately, the program apt-helper has a bug in the way it treats redirections. This bug makes apt-helper keep a space in the URL instead of encoding it to %20 before contacting the mirror. It is more extensively documented in bug 1655431 and bug 1651923. The mirror replies to this malformed request with an error message (e.g. "404 Not Found"), and download fails.
Some mirrors appear to understand the malformed request nonetheless, and send the requested font file, however since there are 11 fonts to download, the chances of getting 11 understanding mirrors are low. Hence why the error message usually concerns andale32.exe or arial32.exe instead of webdin32.exe.
[Workaround 1]
Download the fonts manually and put them all in the same directory. You can use wget for that, because contrary to apt-helper, it handles redirections fine (command line formatted for readability, do not include line breaks and line indents):
$ wget http://downloads.sourceforge.net/corefonts/
{andale32.exe,arial32.exe,arialb32.exe,comic32.exe,courie32.exe,
georgi32.exe,impact32.exe,times32.exe,trebuc32.exe,verdan32.exe,
webdin32.exe}
Or you can use your browser: point it to https://sourceforge.net/projects/corefonts/files/the%20fonts/final and download the same files.
Make sure the package is purged and no remaining setup triggers are remaining, using your favorite package manager or command-line APT:
$ sudo apt-get purge ttf-mscorefonts-installer
Then reinstall the package, this time pointing to the previously-downloaded fonts in a second step:
$ sudo apt-get install ttf-mscorefonts-installer
# (this will most likely fail again)
$ sudo dpkg-reconfigure ttf-mscorefonts-installer
The second command should return a "graphical" interface in the terminal. Use it to point to the directory where you downloaded the fonts (/path/to/directory/containing/the/fonts). Make sure no .deb files are in this directory, they seem to be picked up too and then it fails.
If a pop-up shows up for a post-install action later, just let it run, it shouldn't come back. It may triggered by the file /var/lib/update-notifier/user.d/data-downloads-failed and you may be successful in avoiding the regularly-reappearing message by removing this file. But this point is less clear.
Once everything is working, you can delete the downloaded fonts in .exe format, they have been uncompressed and installed in /usr/share/fonts/truetype/msttcorefonts in .ttf format.
Adapted from: Vincent Gerris (comment 17), Lesley Binks (comment 18).
[Workaround 2]
Remove Ubuntu's version of ttf-mscorefonts-installer and install Debian's version instead. Indeed, Debian's version uses wget to download the fonts, and contrary to apt-helper, wget handles redirections fine.
Download the package from https://packages.debian.org/ttf-mscorefonts-installer. Version 3.6 has been tested by several users. This workaround should work with Debian's version 3.4+nmu1 too, but then you'd be prompted to update to Ubuntu's problematic version 3.4+nmu1ubuntu2 next time you update your packages.
To download the package with wget (command line formatted for readability, do not include line break and line indent):
$ wget http://httpredir.debian.org/debian/pool/contrib/m/
msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
Purge your currently-installed Ubuntu version of the package using your favorite package manager or command-line APT, and install the Debian version with dpkg:
$ sudo apt-get purge ttf-mscorefonts-installer
$ sudo dpkg --install /path/to/ttf-mscorefonts-installer_3.6_all.deb
When this bug is fixed in Ubuntu 16.04 and 16.10, you can uninstall Debian's version of the package and go back to Ubuntu's version:
$ sudo dpkg --purge ttf-mscorefonts-installer
$ sudo apt-get install ttf-mscorefonts-installer
Adapted from: yas (comment 19), Richard Elkins (comment 40)
[Fix]
The bug was fixed by Julian Klode in package apt-transport-https 1.4~beta3ubuntu1, released 2017-01-11, for the then-upcoming 17.04 (zesty) release, see bug 1651923 comments 24 25.
The fix was backported to apt-transport-https 1.3.4 and 1.2.19, released 2017-01-26, for the previous 16.10 (yakkety) and 16.04 (xenial) releases, respectively, see bug 1651923 comments 57 58.
If you are still affected by it, update apt-transport-https to the appropriate version and reinstall Ubuntu's version of ttf-mscorefonts-installer. Reinstalling is necessary or the daily error message won't go away, see bug 1654573 comment 12.
You should also remove Debian's version of ttf-mscorefonts-installer before reinstalling, if you installed it for workaround 2 above:
$ sudo dpkg --purge ttf-mscorefonts-installer
[Important remarks]
If you run into Content-Range errors when reinstalling ttf-mscorefonts-installer, remove the downloaded fonts in /var/lib/update-notifier/package-data-downloads/partial/ and try again. This is a different bug, fixed by Julian Klode in package apt 1.4~beta4ubuntu1 released 2017-01-25 for the then-upcoming 17.04 (zesty) release (see bug 1657567 comments 1 2), fix that was then backported to apt 1.3.5 and 1.2.20 released 2017-02-27 for the previous 16.10 (yaketty) and 16.04 (xenial) releases respectively (see bug 1657567 comments 14 16). You shouldn't run into this bug if using these versions.
You may also run into warnings about a user _apt and their privileges: these are non-blocking and don't impact the successful download and installation of the fonts, as you can check at the end of the installation log. They have been reported in several other bug reports (e.g. bug 1658707), but not investigated yet.
This bug used to be a duplicate of bug 1651923, but it has been de-duplicated to hopefully make it easier for people to find it, instead of reporting the issue as a new bug. Otherwise, duplicates are hidden. |
|
2017-06-08 03:16:31 |
Scott Talbert |
bug |
|
|
added subscriber Scott Talbert |
2017-10-30 22:57:13 |
Gannet |
summary |
ttf-mscorefonts-installer 3.4+nmu1ubuntu2 fails to install core fonts |
ttf-mscorefonts-installer 3.6ubuntu2 fails to install core fonts |
|
2017-11-07 18:39:25 |
William Pabon |
bug |
|
|
added subscriber William Pabon |
2018-11-04 16:17:35 |
Luis Teixeira |
removed subscriber Luis Teixeira |
|
|
|
2019-01-08 09:31:47 |
Phan Van Cuong |
msttcorefonts (Ubuntu): assignee |
|
Phan Van CUong (cuongphan92017) |
|
2019-01-10 22:23:07 |
Matthias Andree |
bug |
|
|
added subscriber Matthias Andree |
2019-07-19 17:36:24 |
Christian Schrötter |
bug |
|
|
added subscriber Christian Schrötter |