我正在尝试在Ubuntu 18.04上下载ttf-mscorefonts-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) ...
答案 0 :(得分:3)
我发现此变通办法可以为我解决问题:
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
另外,我将旧版本设置为保留:
sudo apt-mark hold ttf-mscorefonts-installer
这阻止了进一步的更新。
答案 1 :(得分:0)
我在/usr/share/package-data-downloads/ttf-mscorefonts-installer
中用“ https”替换了所有“ http”并运行/usr/lib/update-notifier/package-data-downloader
,就可以了!