ttf-mscorefonts-installer无法安装,下载错误 [英] ttf-mscorefonts-installer will not install, download error

查看:147
本文介绍了ttf-mscorefonts-installer无法安装,下载错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Ubuntu 18.04上下载ttf-mscorefonts-installer软件包.

I am trying to download the ttf-mscorefonts-installer packages on Ubuntu 18.04.

但是下载安装程序时出现错误.

But I am getting an error on downloading the installer.

这是终端上显示的内容

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arialb32.exe
Err:1 http://downloads.sourceforge.net/corefonts/arialb32.exe
  Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=kent2.dl.sourceforge.net' is forbidden [IP: 212.219.56.185 443]
E: Failed to fetch https://kent.dl.sourceforge.net/project/corefonts/the fonts/final/arialb32.exe  Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=kent2.dl.sourceforge.net' is forbidden [IP: 212.219.56.185 443]
E: Download Failed
Setting up ttf-mscorefonts-installer (3.6ubuntu2) ...
Processing triggers for fontconfig (2.12.6-0ubuntu2) ...

推荐答案

我发现此变通办法可以为我解决问题:

I found this workaround that solves the problem for me:

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

另外,我将旧版本设置为保留:

Additionally I set the older version to hold:

sudo apt-mark hold ttf-mscorefonts-installer

这阻止了进一步的更新.

That prevents further updates.

这篇关于ttf-mscorefonts-installer无法安装,下载错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆