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

21,601

Solution 1

Close Software Center

Type this in terminal

sudo lsof /var/lib/dpkg/lock

Identify the PID of the process causing lock then stop that process

sudo kill -TERM <PID>

sudo apt-get update && sudo apt-get upgrade

sudo apt-get install ttf-mscorefonts-installer

Solution 2

Using the old command:

sudo apt-get install msttcorefonts 

for installing Times New Roman font in Ubuntu 14.04.

If you're already tried using ttf-mscorefonts-installer, please reinstall the font using:

sudo apt-get --reinstall install msttcorefonts 

It works for me.

Share:
21,601

Related videos on Youtube

CESILICON
Author by

CESILICON

Updated on September 18, 2022

Comments

  • CESILICON
    CESILICON almost 2 years

    After updating to Ubuntu 14.04, I installed Ubuntu restricted extras and then the Software Center crashed during the installation so I had to terminate the window. I removed and re-installed it and found that the MS fonts are not installed in my OS. Once in a while I'd get the bellow message (I've tried to re-install the MS true type core font package a few times but I still cannot see the fonts):

    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.

    • Deepen
      Deepen about 10 years
      does the progress continuously appearing beside histroy tab in software center?
  • CESILICON
    CESILICON about 10 years
    Thanks a lot. I removed the package and installed from the terminal as you suggested and it works.
  • Deepen
    Deepen about 10 years
    Your Welcome! :)