在 18.04 上,安装 ttf 字体失败

在 18.04 上,安装 ttf 字体失败

18.04:当我sudo apt install ttf-mscorefonts-installer对 EULA 问题回答“是”时,它失败了:

Err:1 http://downloads.sourceforge.net/corefonts/arial32.exe
  Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=netix.dl.sourceforge.net' is forbidden [IP: 87.121.121.2 443]
E: Failed to fetch https://netix.dl.sourceforge.net/project/corefonts/the fonts/final/arial32.exe  Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=netix.dl.sourceforge.net' is forbidden [IP: 87.121.121.2 443]
E: Download Failed

答案1

howefield在 Ubuntu 论坛上,提供了答案:在~/home名为中创建一个名为 的文件夹mscorefonts并从中下载字体: https://sourceforge.net/projects/corefonts/files/the%20fonts/final/ 并将它们存储在/home/$USER/mscorefonts您之前创建的文件夹中,然后运行..

sudo dpkg-reconfigure ttf-mscorefonts-installer

系统会提示你提供下载文件的路径,其余部分应该不言自明。然后我运行

sudo fc-cache -f -v" which worked Ok

相关内容