Installer unable to download core fonts

Bug #1658482 reported by mike powers jr.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
msttcorefonts (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I received the following notification:

----------
Data files for some packages could not be downloaded

The following packages requested additional data downloads after package installation, but the data could not be downloaded or could not be processed.

ttf-mscorefonts-installer

This is a permanent failure that leaves these packages unusable on your system. You may need to fix your Internet connection, then remove and reinstall the packages to fix this problem.
----------

This appears to be a long standing bug, a number of proposed workarounds are discussed in the following thread:

http://askubuntu.com/questions/153928/failure-to-download-extra-data-files-after-installing-ttf-mscorefonts-installe

I attempted to correct the issue with the following command

----------
sudo apt-get install --reinstall ttf-mscorefonts-installer

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/29.5 kB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 266331 files and directories currently installed.)
Preparing to unpack .../ttf-mscorefonts-installer_3.4+nmu1ubuntu2_all.deb ...
mscorefonts-eula license has already been accepted
Unpacking ttf-mscorefonts-installer (3.4+nmu1ubuntu2) over (3.4+nmu1ubuntu2) ...
Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ...
Processing triggers for update-notifier-common (3.168.3) ...
ttf-mscorefonts-installer: processing...
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
Err:1 http://downloads.sourceforge.net/corefonts/andale32.exe
  404 Not Found
W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/andale32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Failed to fetch https://iweb.dl.sourceforge.net/project/corefonts/the fonts/final/andale32.exe 404 Not Found

E: Download Failed
Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...
----------

----------
ls -lha /var/lib/update-notifier/package-data-downloads/partial/

total 552K
drwxr-xr-x 2 root root 4.0K Jan 22 09:04 .
drwxr-xr-x 3 root root 4.0K Jan 22 09:04 ..
-rw-r--r-- 1 root root 542K Aug 15 2002 arial32.exe
----------

Next, I tried removing the file arial32.exe from the partial directory, and issued the reinstall command again. I had slightly different, but similar results.

----------
sudo apt-get install --reinstall ttf-mscorefonts-installer

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/29.5 kB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 266331 files and directories currently installed.)
Preparing to unpack .../ttf-mscorefonts-installer_3.4+nmu1ubuntu2_all.deb ...
mscorefonts-eula license has already been accepted
Unpacking ttf-mscorefonts-installer (3.4+nmu1ubuntu2) over (3.4+nmu1ubuntu2) ...
Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ...
Processing triggers for update-notifier-common (3.168.3) ...
ttf-mscorefonts-installer: processing...
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
Get:1 http://downloads.sourceforge.net/corefonts/andale32.exe [198 kB]
Fetched 198 kB in 0s (391 kB/s)
W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/andale32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
Get:1 http://downloads.sourceforge.net/corefonts/arial32.exe [554 kB]
Fetched 554 kB in 0s (988 kB/s)
W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/arial32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arialb32.exe
Err:1 http://downloads.sourceforge.net/corefonts/arialb32.exe
  404 Not Found
W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/arialb32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Failed to fetch https://pilotfiber.dl.sourceforge.net/project/corefonts/the fonts/final/arialb32.exe 404 Not Found

E: Download Failed
Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...
----------

----------
ls -lha /var/lib/update-notifier/package-data-downloads/partial/

total 748K
drwxr-xr-x 2 root root 4.0K Jan 22 09:07 .
drwxr-xr-x 3 root root 4.0K Jan 22 09:07 ..
-rw-r--r-- 1 root root 194K Aug 15 2002 andale32.exe
-rw-r--r-- 1 root root 542K Aug 15 2002 arial32.exe
----------

Revision history for this message
Naël (nathanael-naeri) wrote :

This is bug 1607535, fixed in package apt-transport-https 1.2.19 (released to Xenial and Yakkety on Jan 26) by Julian Klode in bug 1651923. Update apt-transport-https (and possibly the other apt packages, for good measure) to 1.2.19 (Xenial) or 1.3.4 (Yakkety), and reinstall ttf-mscorefonts-installer (or purge and install). Please report if it fails.

See bug 1649203#13 if you run into Content-Range error messages.

summary: - Installer unable to recover from previous failures
+ Installer unable to download core fonts
Naël (nathanael-naeri)
Changed in msttcorefonts (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.