Installer unable to download core fonts
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
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:
I attempted to correct the issue with the following command
----------
sudo apt-get install --reinstall ttf-mscorefonts
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-eula license has already been accepted
Unpacking ttf-mscorefonts
Processing triggers for fontconfig (2.11.94-
Processing triggers for update-
ttf-mscorefonts
ttf-mscorefonts
Err:1 http://
404 Not Found
W: Can't drop privileges for downloading as file '/var/lib/
E: Failed to fetch https:/
E: Download Failed
Setting up ttf-mscorefonts
----------
----------
ls -lha /var/lib/
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
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-eula license has already been accepted
Unpacking ttf-mscorefonts
Processing triggers for fontconfig (2.11.94-
Processing triggers for update-
ttf-mscorefonts
ttf-mscorefonts
Get:1 http://
Fetched 198 kB in 0s (391 kB/s)
W: Can't drop privileges for downloading as file '/var/lib/
ttf-mscorefonts
Get:1 http://
Fetched 554 kB in 0s (988 kB/s)
W: Can't drop privileges for downloading as file '/var/lib/
ttf-mscorefonts
Err:1 http://
404 Not Found
W: Can't drop privileges for downloading as file '/var/lib/
E: Failed to fetch https:/
E: Download Failed
Setting up ttf-mscorefonts
----------
----------
ls -lha /var/lib/
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
----------
Changed in msttcorefonts (Ubuntu): | |
status: | New → Fix Released |
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.