我目前正在尝试在Debian Stretch上安装一些字体
g@i-3-nstance:~$ 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: update-notifier-common (>= 0.119ubuntu2) but it is not installable
E: Unable to correct problems, you have held broken packages.
g@i-3-nstance:~$
...但是似乎此软件包已被删除。
https://github.com/plone/ansible-playbook/issues/98
https://github.com/jnv/ansible-role-unattended-upgrades/issues/6#issuecomment-93569818
有解决方法吗?
答案 0 :(得分:-1)
更新:我基于以下内容进行了手动安装:https://askubuntu.com/a/861476
sudo apt-get install cabextract libmspack0
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb
答案 1 :(得分:-1)
ttf-mscorefonts-installer
尝试安装的apt-get
软件包来自Ubuntu存储库,而不是来自Debian存储库(请注意,它取决于update-notifier-common> = 0.119 ubuntu2 )。
您可能在/etc/apt/sources.list
中混合了Debian和Ubuntu存储库。