无法下载“ttf-mscorefonts-installer”。甚至没有重新安装工作!

Enr*_*ent 9 package-management apt

每次登录时都会收到此消息:

无法下载额外的数据文件

以下包在包安装后请求额外的数据下载,但数据无法下载或无法处理。

ttf-mscorefonts-安装程序

稍后将再次尝试下载,或者您现在可以再次尝试下载。运行此命令需要有效的 Internet 连接。

当我尝试重新安装软件包时,出现此错误:

$ sudo apt-get install --reinstall ttf-mscorefonts-installer           

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
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 ... 322478 files and directories currently installed.)
Preparing to unpack .../ttf-mscorefonts-installer_3.4+nmu1ubuntu2_all.deb ...
mscorefonts-eula license has already been accepted
Unpacking ttf-mscorefonts-installer (3.4+nmu1ubuntu2) over (3.4+nmu1ubuntu2) ...
Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ...
Processing triggers for update-notifier-common (3.168.2) ...
ttf-mscorefonts-installer: processing...
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
Err:1 http://downloads.sourceforge.net/corefonts/andale32.exe
  The HTTP server sent an invalid Content-Range header Bad header data [IP: 78.35.24.46 80]
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)
E: Failed to fetch http://netcologne.dl.sourceforge.net/project/corefonts/the fonts/final/andale32.exe  The HTTP server sent an invalid Content-Range header Bad header data [IP: 78.35.24.46 80]

E: Download Failed
Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...
Run Code Online (Sandbox Code Playgroud)

我能做什么?

更新

似乎有一个关于这个主题的错误:https : //bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1645253

Vin*_*ris 12

sourceforge 下载存在问题(镜像和重定向速度缓慢和/或失败)。要解决此问题,您可以从此处手动获取文件,例如:https : //sourceforge.net/projects/corefonts/files/the%20fonts/final/ 并将它们保存在同一目录中(例如 mscorefonts)。

这些文件(来自安装程序):这些文件采用 Microsoft Windows 自安装格式,并命名为

andale32.exe, arial32.exe, arialb32.exe, comic32.exe, courie32.exe, georgi32.exe, impact32.exe, times32.exe, trebuc32.exe, verdan32.exe and webdin32.exe.
Run Code Online (Sandbox Code Playgroud)

确保包被清除并且没有剩余的设置触发器剩余:

sudo apt-get remove --purge ttf-mscorefonts-installer
Run Code Online (Sandbox Code Playgroud)

然后在终端运行:

sudo apt-get install ttf-mscorefonts-installer #(this will fail again most likely)
sudo dpkg-reconfigure ttf-mscorefonts-installer
Run Code Online (Sandbox Code Playgroud)

这应该会在终端中为您提供一个“图形”界面。然后指向下载文件的目录,如 /home//Downloads/mscorefonts。

确保没有 deb 文件在那里,似乎也被拾取然后它失败了。

那为我修好了。稍后我有一个弹出窗口用于安装后操作,我只是让它运行并且它没有回来。请在启动板注册并将自己标记为受到该错误的影响:https : //bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1645253 以便获得更多优先级。谢谢你。