Fonts unable to be downloaded due to privileges error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
msttcorefonts (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Attempting to install MS TTF fonts fails:
$ sudo dpkg -P ttf-mscorefonts
(Reading database ... 449542 files and directories currently installed.)
Removing ttf-mscorefonts
Purging configuration files for ttf-mscorefonts
Processing triggers for update-
$ sudo apt-get install ttf-mscorefonts
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ttf-
0 upgraded, 1 newly installed, 0 to remove and 115 not upgraded.
Need to get 29.5 kB of archives.
After this operation, 134 kB of additional disk space will be used.
Get:1 http://
Fetched 29.5 kB in 0s (207 kB/s)
Preconfiguring packages ...
Selecting previously unselected package ttf-mscorefonts
(Reading database ... 449535 files and directories currently installed.)
Preparing to unpack .../ttf-
Unpacking ttf-mscorefonts
Processing triggers for fontconfig (2.11.94-
Processing triggers for update-
ttf-
ttf-
Get:1 http://
Err:1 http://
Hash Sum mismatch
Fetched 969 B in 0s (2035 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
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ttf-mscorefonts
ProcVersionSign
Uname: Linux 4.4.0-45-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Nov 16 11:09:18 2016
InstallationDate: Installed on 2015-10-20 (392 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
PackageArchitec
SourcePackage: msttcorefonts
UpgradeStatus: Upgraded to xenial on 2016-09-16 (61 days ago)
I had this same problem, the first fix here, from xyphos, fixed the problem. his or her suggestion involving partial downloads
http:// askubuntu. com/questions/ 463754/ how-to- make-ttf- mscorefonts- installer- package- download- fonts-after- it-says- it-i
Solution:
sudo dpkg -P ttf-mscorefonts -installer update- notifier/ package- data-downloads/ partial/ * -installer
sudo rm -rf /var/lib/
sudo apt-get --purge --reinstall install ttf-mscorefonts