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

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

无法下载额外的数据文件

以下软件包在安装软件包后请求下载其他数据,但无法下载或无法处理数据。

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) ... 

我能做什么?

UPDATE

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

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. 

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

 sudo apt-get remove --purge ttf-mscorefonts-installer 

然后在终端运行中:

 sudo apt-get install ttf-mscorefonts-installer #(this will fail again most likely) sudo dpkg-reconfigure ttf-mscorefonts-installer 

这应该会给你一个终端的“图形”界面。 然后指向包含/ home // Downloads / mscorefonts等下载文件的目录。

确保没有deb文件,似乎也被拾取然后失败。

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