我正在尝试在Ubuntu 14.04 LTS上安装MS Core字体,并且遇到以下错误:
vagrant@vagrant-ubuntu-trusty-64:~$ sudo apt-get install ttf-mscorefonts-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ttf-mscorefonts-installer : Depends: cabextract but it is not installable
E: Unable to correct problems, you have held broken packages.
运行dpkg --get-selections | grep hold
不会返回任何内容,我也无法在apt-get中找到名为的软件包cabextract
。
从我搜索过的所有内容来看,安装MS Core字体相对简单,因此我有点迷失了。如何解决此问题并安装核心字体?
编辑:
这是我的/etc/apt/sources.list
档案
#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################
###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted multiverse
###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main restricted multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted multiverse
cabextract
universe
如果您更新了/etc/apt/sources.list,则在存储库中:
#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################
###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
然后跑
sudo apt-get update
sudo apt-get -f install
apt将安装cabextract以满足部分安装的ttf-mscorefonts-installer的依赖性。如果那不起作用,请再试sudo apt-get install ttf-mscorefonts-installer
一次。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句