Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm generating PDF's with something called PrinceXML, it seems it requires a package called: msttcorefonts

I have been unable to use aptitude to get it and I recived this as an error:

$ sudo apt-get install msttcorefonts
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package msttcorefonts is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package msttcorefonts has no installation candidate

How can I get this package installed?

share|improve this question

3 Answers 3

up vote 4 down vote accepted

This seems to have changed in karmic. There is no package msttcorefonts anymore.

Use the package ttf-mscorefonts-installer from the Multiverse repository instead.

How to enable the Mutliverse repository see here.

Then install with:

   sudo apt-get install ttf-mscorefonts-installer

Technically speaking the package doesn't contain the fonts, but rather automatically downloads and installs them - hence the name change.

share|improve this answer
    
great! funny thing is that ttf-mscorefonts-installer wasn’t in the multiverse repo either, but running the old command did the trick. –  Joseph Silvashy Dec 1 '09 at 21:24

http://corefonts.sourceforge.net/

Specifically, look under the package names listed on that page itself, not on the download links.

share|improve this answer

Enabling the multiverse (https://help.ubuntu.com/community/Repositories/Ubuntu) and then installing with msttcorefonts worked for me:

sudo apt-get install msttcorefonts

ttf-mscorefonts-installer isn't in the multiverse either

share|improve this answer

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.