Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After fresh install 12.04 I && updating apt and system restart, I always get this annoying message after reboot :

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-installer

The download will be attempted again later, or you can try the download again now. Running this command requires an active Internet connection.

But if I run attempt now, it shows flashing terminal window and like nothing happen. It'll happen again when I restart system.

I found someone have this problem too, but he haven't replied yet.

  • I'm a newbie here, please help.
share|improve this question
    
In case someone looks for a solution to this problem for 14.04 LTS (Trusty Tahr), here is the text of the first and last messages for this release: "Data files for some packages could not be downloaded" and "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." –  Walter Tross May 10 at 15:59
add comment

3 Answers 3

up vote 12 down vote accepted

Solution 1:

Connect to the internet and run this command below, to fix the error

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

This will reinstall the package, and download the data files needed to configure the package. Wait for some times to finish downloading. The download size is approximately 4MB.

Solution 2:

  1. Connect to the internet and go to this sourceforge link and download all the .exe files there except wd97vwr32.exe file.

  2. Copy those files in your home directory.

  3. Run this command to configure the package

    sudo dpkg-reconfigure ttf-mscorefonts-installer
    
    • This will ask you whether you have downloaded microsoft fonts or not. Use Tab to select OK, and hit Enter.
    • Then again you will be asked to enter the directory name for the downloaded files, Type the location of your home directory and use Tab to select OK, and hit Enter.

      For example, if your login name is anwar, the location will be /home/anwar, because I copied the downloaded fiiles there.

Done! you have successfully configured and setup the package.

What was the cause of the problem?

This package ttf-mscorefonts-installer is used to download Microsoft's font files (those files are made freely available by Microsoft) from the Internet and install them. Since you must accept the EULA of Microsoft to use those font files, those fonts cannot be included in the package like other Free (Free as freedom) packages.

The problem was, somehow you get disconnected from Internet before downloading those files. So, is the message asking to download more data files.

share|improve this answer
    
Please have a look at this question. –  Registered User Jan 30 at 11:17
1  
Solution 1 solved my problem on 14.04 LTS (Trusty Tahr). Shift-Tab to select "OK", then Enter and Enter again. –  Walter Tross May 10 at 16:19
    
For the benefit of people looking for this solution, I'll add that you can get into this problem by installing Wine (wine is not mentioned on this page yet). –  Walter Tross May 10 at 16:22
add comment

look for the file gksudo

which gksudo

and for kdesudo

which kdesudo

since i use kubuntu, gksudo is missing when the automated script is trying to download the missing files.

that's the bug!!

workaround: i solved it with a symlink:

ln -s /usr/bin/kdesudo /usr/bin/gksudo
sudo apt-get remove --purge ubuntu-restricted-extras ttf-mscorefonts-installer flashplugin-installer
sudo restart

after the restart:

sudo apt-get install ubuntu-restricted-extras flashplugin-installer

later you can remove that ugly workaround-symlink again with:

sudo rm -i /usr/bin/gksudo

Quite a hammermethod but it works

share|improve this answer
    
Please have a look at this question. –  Registered User Jan 30 at 11:18
    
I guess, you can uninstall ubuntu-restricted-extras and flashplugin-installer after al problems are solved –  rubo77 Jan 31 at 10:29
add comment

Uninstall tha package ttf-mscorefonts-installer and then install ubuntu-restricted-extras.

Connect to the internet and run this command:

sudo apt-get remove --purge ttf-mscorefonts-installer
sudo apt-get install ubuntu-restricted-extras

After the next start-up of your system, the message will be gone.

(i had the same problem but with even one more package in the message: flashplugin-installer) this is the annoying message i get every start (very long, rightklick to download it): this is the annoying message i get every start

maybe you have to restarted the system before install the ubuntu-restricted-extras

share|improve this answer
    
Why should he uninstall the package ttf-mscorefonts-installer, any reason? note that ubuntu-restricted-extras also install it as a dependency. So, what is the point? –  Anwar Shah Sep 14 '12 at 17:37
    
yes, there is a reason, becouse it works! –  rubo77 Sep 17 '12 at 0:11
1  
It sounds really strange, but i guess, there is a bug somewhere in apt-get: bcause even if you remove ttf-mscorefonts-installer even with purge, the message that it is missing still stays after a reboot! This is a really strange behaviour, but the only solution is to uninstall all that is related to that bug and reinstall the ubuntu-restricted-extras afterwards after a reboot. I had this strange behaviour on two mashines already –  rubo77 Sep 17 '12 at 0:16
    
@rubo77 I cannot really confirm this... –  hexafraction Sep 19 '12 at 20:38
    
it only worked, cause on my computer gksudo was installed. i added a new answer, that should work on kubuntu fresh install too –  rubo77 Sep 20 '12 at 12:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.