最近更新后,ttf-mscorefonts-installer提示我接受其许可协议。
??????????????????? Configuring ttf-mscorefonts-installer ???????????????????
? ?
? TrueType core fonts for the Web EULA
?
? END-USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE
?
? IMPORTANT-READ CAREFULLY: This Microsoft End-User License Agreement
? ("EULA") is a legal agreement between you (either an individual or a
? single entity) and Microsoft Corporation for the Microsoft software
? accompanying this EULA, which includes computer software and may include
? associated media, printed materials, and "on-line" or electronic
? documentation ("SOFTWARE …Run Code Online (Sandbox Code Playgroud) 在全新安装 12.04 I && 更新 apt 并重新启动系统后,我总是在重新启动后收到这条烦人的消息:
无法下载额外的数据文件
以下包在包安装后请求额外的数据下载,但数据无法下载或无法处理。
ttf-mscorefonts-安装程序
稍后将再次尝试下载,或者您现在可以再次尝试下载。运行此命令需要有效的 Internet 连接。
但是如果我现在运行尝试,它会显示闪烁的终端窗口,并且什么也没有发生。当我重新启动系统时,它会再次发生。
我发现有人也有这个问题,但他还没有回复。
这是一个值得修正的老问题,但现在它已不再是一个笑话,我似乎无法解决它。
我不断收到与以下相关的可怕failed To download extra data files错误ttf-mscorefonts-installer:

反复要求它再试一次也无济于事,另外,反复尝试——
sudo rm -rf /var/lib/update-notifier/package-data-downloads/partial/*
sudo apt-get --purge --reinstall install ttf-mscorefonts-installer
Run Code Online (Sandbox Code Playgroud)
也不行。我只是从停止它工作的 sourceforge 链接之一收到至少一个 404 错误-
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 20 not to upgrade.
Need to get 0 B/29.5 kB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages ...
(Reading database …Run Code Online (Sandbox Code Playgroud) 我一直在从更新通知程序收到有关“无法下载额外数据文件”的通知。它要求我从ttf-mscorefonts-installer包中下载字体。但是,每当我单击“立即运行此操作”时,都会弹出一个窗口(见下图)并且从未下载过。
它一直“等待标题”直到超时。如果我使用wgetin 终端下载包,也会发生同样的事情:
wget downloads.sourceforge.net/corefonts/andale32.exe
--2016-05-02 11:57:32-- http://downloads.sourceforge.net/corefonts/andale32.exe
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response...
Run Code Online (Sandbox Code Playgroud)
它会再次失败。
我已经注意到了类似的问题,像这一个,但已知的方案从来没有对我的工作。有线的事情是我可以从Chrome之类的浏览器下载字体包,并运行以下命令来修复字体问题:
sudo dpkg-reconfigure ttf-mscorefonts-installer
Run Code Online (Sandbox Code Playgroud)
与字体文件夹定向。但我的问题是我的package-data-downloader终端配置有问题吗?该sudo apt-get update命令运行时可能会出现一些错误和警告,但通常它可以从 Internet 下载数据。只有当终端连接到 sourceforge 或类似的网站时,它才会失败。
希望您对如何使从终端下载适用于所有情况有所了解。让我知道我还能提供什么信息。谢谢!
我尝试ttf-mscorefonts-installer从终端安装,因为我想使用 Wine。
它看起来有点像在 Comic Sans 部分失败了。查看它只是以另一种字体显示文本。
然后弹出这个下载额外数据文件失败的窗口。

我尝试从终端卸载 ttf-mscorefonts-installer,然后按照此答案中的说明重新安装它。这次它无法获取第一个字体andale32.exe。我收到一条错误消息,内容为:invalid content-range header.
我该怎么办?
我想在 16.04 上安装 Microsoft 字体并运行下面的命令,但是有很多错误(或只有警告?)关于用户_apt对下载的.exe文件没有权限。
命令:
sudo apt install ttf-mscorefont-installer
Run Code Online (Sandbox Code Playgroud)
错误消息(对每个下载的字体 exe 重复):
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
Get:1 http://downloads.sourceforge.net/corefonts/andale32.exe [198 kB]
Fetched 198 kB in 1s (180 kB/s)
W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/andale32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Run Code Online (Sandbox Code Playgroud)
但是最后还是说安装成功。那么这只是包安装脚本中的一个错误,还是我这边有什么问题?我需要采取任何进一步的行动吗?
完整输出(原始输出与 相同--reinstall):
$ sudo apt install --reinstall ttf-mscorefonts-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, …Run Code Online (Sandbox Code Playgroud) 我没有这些字体:times new roman、arial 和 calibri ......,就像在 microsoft office 中一样?我能做什么?


这些是终端上显示的问题:
W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/andale32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/arial32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Run Code Online (Sandbox Code Playgroud)
与 ttf-mscorefonts-installer 相关的许多其他文件类似。
如何在 Ubuntu 16.10 上安装 Microsoft 字体?我尝试过$ sudo apt install ttf-mscorefonts-installer但没有成功。这是屏幕截图:
$ sudo apt install ttf-mscorefonts-installer
...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libc++1 libjemalloc1 linux-headers-4.8.0-26 linux-headers-4.8.0-26-generic
linux-headers-4.8.0-27 linux-headers-4.8.0-27-generic
linux-image-4.8.0-26-generic linux-image-4.8.0-27-generic
linux-image-extra-4.8.0-26-generic linux-image-extra-4.8.0-27-generic
linux-signed-image-4.8.0-26-generic linux-signed-image-4.8.0-27-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
cabextract libmspack0
The following NEW packages will be installed:
cabextract libmspack0 ttf-mscorefonts-installer
0 upgraded, …Run Code Online (Sandbox Code Playgroud) 我尝试删除非西方字体(很多 Noto 的东西),但最终删除了太多字体。我想做一种“恢复出厂设置”。我已经尝试过,sudo apt install ttf-mscorefonts-installer但它已经安装了。
我想我可能可以启动apt install后跟一个字体列表,但要做到这一点,我需要在 Ubuntu 中默认安装一个字体列表,但我还没有找到它。任何建议表示赞赏。
fonts ×8
apt ×3
downloads ×2
.ttf ×1
14.10 ×1
16.04 ×1
internet ×1
libreoffice ×1
license ×1
microsoft ×1
notification ×1
permissions ×1
updates ×1