我正在使用名为
PrinceXML的东西生成PDF,它似乎是
it requires一个名为:msttcorefonts的包
我一直无法使用aptitude来获取它,我将此作为错误收回:
$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
如何安装此软件包?
2015年更新:
将此添加到(或取消注释)/etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ trusty multiverse deb-src http://archive.ubuntu.com/ubuntu/ trusty multiverse deb http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse deb http://archive.ubuntu.com/ubuntu/ trusty-security multiverse deb-src http://archive.ubuntu.com/ubuntu/ trusty-security multiverse
然后运行:
sudo apt-get update sudo apt-get install msttcorefonts