ttf-mscorefonts-installer 尝试在 16.04 中安装

Roq*_*que 12 upgrade

我尝试在 16.04 中安装 mscorefonts,它失败了,现在每次系统启动时都会出现一个弹出窗口,说如果失败并想再次安装,我尝试但它再次没有安装,所以下次弹出出现,所以......我能做些什么来禁用它?谢谢

rag*_*ag2 24

您看到的可能是安装程序的下载部分,它将无限期地继续尝试。这是因为字体文件的位置在 Sourceforge 上已更改,但安装程序本身中的硬编码位置尚未更改。https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1371783 上有一个针对此问题的启动板错误。错误报告https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1371783/comments/45中的评论 #45解释了发生了什么。

对我有用(在干净的16.04 安装中)并导致安装字体的解决方案是:

# Due to a bug in ttf-mscorefonts-installer, this package must be downloaded from Debian at a later version and installed before the rest of the packages:
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
Run Code Online (Sandbox Code Playgroud)

如果您已经尝试安装ttf-mscorefonts-installer,则应先将其卸载。


Aru*_*ury 2

sourceforge 的 msfonts 服务器昨天宕机了,现在又恢复了,在 Ubuntu 和 Arch 中安装它时都遇到问题,但幸运的是它已修复。


Sun*_*ear 1

我在 Ubuntu 16.04 LTS 上也遇到同样的问题。我尝试的选项是:

  1. 重新安装它,然后
  2. 如果失败我将删除它。

答:我刚刚使用命令 sudo apt-get install --reinstall ttf-mscorefonts-installer 重新安装了 ttf-mscorefonts-installer

终端中 apt-get 日志的结果:

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
0% [Working]terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 56) > this->size() (which is 55)
Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...
Run Code Online (Sandbox Code Playgroud)

B.如果我继续看到以下消息,我计划使用命令删除它:sudo apt-get remove ttf-mscorefonts-installer

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.
Run Code Online (Sandbox Code Playgroud)

希望这个答案有帮助。如果您有更好的答案,请告诉我。由于解决方案 B 意味着 MS core 字体将无法使用。


归档时间:

查看次数:

16711 次

最近记录:

8 年,9 月 前