Failure to download extra data files (ttf-mscorefonts-installer)
Linux 4.4.0-47-generic
Ubuntu 16.04 LTS
I have repeatedly been informed of a “Failure to download extra data files”:
> Information available
> ## Update information
>
> **Failure to download extra data files**
>
> The following packages requested additional data downloads after package
> installation, but the data could not be downloaded or could not be processed.
>
> ttf-mscorefonts
>
> The download will be attempted again later, or you can try the download
> again now. Running this command requires an active Internet connection.
Running “this action now” does not resolve the issue.
I have then repeatedly tried to install ttf-mscorefonts
- Download of .exe files fails with error 404 Not Found [i.e. andale32.exe, arial32.exe, arialb32.exe];
- Download of .exe files fails with Hash Sum mismatch [i.e. andale32.exe, arial32.exe];
- Once download succeeded .exe files couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) [i.e. andale32.exe, arial32.exe, arialb32.exe].
Errors are *not* consistent and possibly difficult to reproduce, so I am attaching a log file with multiple attempts
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jeremy
- Solved:
- Last query:
- Last reply:
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#1 |
--- attachment: log file ---
user@box:~$ sudo rm -rf /var/lib/
user@box:~$ sudo apt-get --purge --reinstall install ttf-mscorefonts
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 4 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 ... 247579 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
user@box:~$ sudo rm -rf /var/lib/
user@box:~$ sudo apt-get --purge --reinstall install ttf-mscorefonts
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 4 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 ... 247579 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 (199 kB/s)
W: Can't drop privileges for downloading as file '/var/lib/
ttf-mscorefonts
Get:1 http://
Fetched 554 kB in 0s (639 kB/s)
W: Can't drop privileges for downloading as file '/var/lib/
ttf-mscorefonts
Get:1 http://
Fetched 168 kB in 4s (39.0 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
user@box:~$ sudo apt-get install --reinstall ttf-mscorefonts
[sudo] password for user:
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 ... 247579 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://
Err:1 http://
Hash Sum mismatch
Fetched 969 B in 0s (1,053 B/s)
W: Can't drop privileges for downloading as file '/var/lib/
E: Failed to fetch http://
E: Download Failed
Setting up ttf-mscorefonts
user@box:~$ sudo apt-get --purge --reinstall install 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 ... 247579 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 (288 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
user@box:~$ sudo rm -rf /var/lib/
user@box:~$ sudo apt-get --purge --reinstall install 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 ... 247579 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 (215 kB/s)
W: Can't drop privileges for downloading as file '/var/lib/
ttf-mscorefonts
Get:1 http://
Fetched 554 kB in 1s (531 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
user@box:~$ sudo apt-get --purge --reinstall install 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 ... 247579 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 14s (13.9 kB/s)
W: Can't drop privileges for downloading as file '/var/lib/
ttf-mscorefonts
Get:1 http://
Err:1 http://
Hash Sum mismatch
Fetched 969 B in 0s (1,119 B/s)
W: Can't drop privileges for downloading as file '/var/lib/
E: Failed to fetch http://
E: Download Failed
Setting up ttf-mscorefonts
user@box:~$ sudo rm -rf /var/lib/
user@box:~$ sudo apt-get --purge --reinstall install 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 ... 247579 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
user@box:~$ sudo apt-get --purge --reinstall install 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 ... 247579 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 7s (26.5 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
user@box:~$ sudo apt-get --purge --reinstall install 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 ... 247579 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://
Err:1 http://
Hash Sum mismatch
Fetched 969 B in 1s (506 B/s)
W: Can't drop privileges for downloading as file '/var/lib/
E: Failed to fetch http://
E: Download Failed
Setting up ttf-mscorefonts
user@box:~$ sudo rm -rf /var/lib/
user@box:~$ sudo apt-get --purge --reinstall install 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 ... 247579 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
user@box:~$
Revision history for this message
|
#2 |
Try chowning the files in /var/lib/
If you can find an alternative download for the files and place them in the same place then the package will install. Seems sourceforge is having some issues.
Revision history for this message
|
#3 |
I am suffering this too. Please look properly at the OP's log file ... there are 404 error. The path to the files must have changed on Sourceforge.
The solutions involving "partial" will not work as nothing is downloaded.
This is a bug in ttf-mscorefonts
Revision history for this message
|
#4 |
See https:/
For a work around
Revision history for this message
|
#5 |
I agree with @kimbo-kaz. I can not chown files that fail to download (fully). Manually scavenging exe files from SourceForge might be a workaround, but does not resolve a ttf-mscorefonts
I have now manually downloaded and installed ttf-mscorefonts
Revision history for this message
|
#6 |
As of today, the warning “Failure to download extra data files” has not shown up again. Attempts to reinstall ttf-mscorefonts
While it seems that it is possible to work around the problem, the underlying problem with the installation of ttf-mscorefonts
--- attachment: log file ---
user@box:~$ sudo apt --purge --reinstall install ttf-mscorefonts
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of ttf-mscorefonts
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Revision history for this message
|
#7 |
Thanks Jeremy, that solved my question.
Revision history for this message
|
#8 |
Thanks to all who worked so hard to fix the problem. It would seem that the problem I outlined is still not solved. So, what happens now as the situation is unresolved and therefore left hanging.
I did also ask, what packages I have to UN-install or how to do the un-install. Although that question might by the Ubuntu experts seem to be a little newbyish it would have been nice if someone pointed me in the right direction so as to enable me to educate myself. Another point I would raise is. I am an English and a retired high tec consutant systems problem solver to both the military and the high end commercial market and though I have searched extensively I can't find out what on earth chown is
Revision history for this message
|
#9 |
Still a problem with the stock ttf-mscorefonts
Revision history for this message
|
#10 |
@allensinclair Please check the questions you have subscribed to. You might want to redirect your comment to another question. This is not the one where you have not outlined a problem. As to what on earth chown is please let me point you this way >> http://
Revision history for this message
|
#11 |
@allensinclair (high tech consultant to military and high end commercial blah blah) to find out about chown please go to https:/
Revision history for this message
|
#12 |
Thank you Kim. I've done as you suggested.
I'm doing to much and my brain is fried or I
would have figured it out for myself.
"Man who chases two rabbits goes hungry"
On 16/01/17 18:27, Kim Kaz wrote:
> Question #404484 on Ubuntu changed:
> https:/
>
> Kim Kaz posted a new comment:
> @allensinclair (high tech consultant to military and high end commercial
> blah blah) to find out about chown please go to https:/
> and type 'chown' in the search box
>
Revision history for this message
|
#13 |
This worked for me:
https:/
Here is what howefield says:
"The 3.4 version of the ttf-mecorefonts
Sourceforge (where the actual font files are downloaded from) changed the location that the fonts are stored rendering the package broken. I'd suggest purging that broken 3.4 version of the package and instead install the 3.6 version of the package from an alternative source, eg
Code:
sudo apt purge ttf-mscorefonts
to get rid of the current package
Code:
wget http://
to download the 3.6 version of the package to your Downloads folder, and
Code:
sudo apt install ~/Downloads/
to install the new package."
Revision history for this message
|
#14 |
This issue has been bugging me for a while. Thanks to Jeremy (wa113y3s), solution seems to have worked.
Revision history for this message
|
#15 |
First reported against 16.04 and two years later 18.04 Alpha 2 *STILL* has this issue word-for-word?
Could you just kick the MS Fonts package to the kerb?
Revision history for this message
|
#16 |
Forum suggested fix:
sudo apt --purge --reinstall install ttf-mscorefonts
Produces the following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 0 not to upgrade.
Need to get 27.6 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://
Fetched 27.6 kB in 1s (32.1 kB/s)
Preconfiguring packages ...
(Reading database ... 132750 files and directories currently installed.)
Preparing to unpack .../ttf-
mscorefonts-eula license has already been accepted
Unpacking ttf-mscorefonts
Processing triggers for update-
ttf-mscorefonts
ttf-mscorefonts
Get:1 http://
Err:1 http://
Hash Sum mismatch
Hashes of expected file:
- SHA256:
Hashes of received file:
- SHA256:
- Filesize:652 [weak]
Last modification reported: Thu, 01 Mar 2018 05:30:05 +0000
Fetched 652 B in 5s (127 B/s)
E: Failed to fetch https:/
Hashes of expected file:
- SHA256:
Hashes of received file:
- SHA256:
- Filesize:652 [weak]
Last modification reported: Thu, 01 Mar 2018 05:30:05 +0000
E: Download Failed
Setting up ttf-mscorefonts
Processing triggers for fontconfig (2.12.6-0ubuntu1) ...