首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ttf-mscorefonts-安装程序无法安装,下载错误

ttf-mscorefonts-安装程序无法安装,下载错误
EN

Stack Overflow用户
提问于 2018-10-10 17:36:35
回答 2查看 1.6K关注 0票数 2

我正在尝试下载Ubuntu18.04上的ttf-mscorefonts-installer包。

但我在下载安装程序时遇到错误。

这就是终端上显示的内容

代码语言:javascript
复制
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) ...
EN

回答 2

Stack Overflow用户

发布于 2018-10-10 18:31:35

我发现这个解决方法为我解决了这个问题:

代码语言:javascript
复制
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

此外,我将较旧的版本设置为保留:

代码语言:javascript
复制
sudo apt-mark hold ttf-mscorefonts-installer

这会阻止进一步的更新。

票数 4
EN

Stack Overflow用户

发布于 2019-03-19 00:34:58

我将/usr/share/package-data-downloads/ttf-mscorefonts-installer中的所有"http“替换为"https”,然后运行/usr/lib/update-notifier/package-data-downloader,然后它就可以工作了!

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52737092

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档