无法下载额外的数据文件 – ttf-mscorefonts-installer

这是一个值得修复的旧问题,但它现在已经超越了一个笑话,我似乎无法解决它。

我一直感到害怕failed To download extra data filesttf-mscorefonts-installer相关的failed To download extra data files错误:

screenshot1

反复要求它再试一次并没有帮助,另外,反复尝试 –

 sudo rm -rf /var/lib/update-notifier/package-data-downloads/partial/* sudo apt-get --purge --reinstall install ttf-mscorefonts-installer 

也没有工作。 我只是从其中一个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 ... 352049 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 Get:1 http://downloads.sourceforge.net/corefonts/andale32.exe [198 kB] Fetched 198 kB in 0s (339 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) ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe Get:1 http://downloads.sourceforge.net/corefonts/arial32.exe [554 kB] Fetched 554 kB in 0s (575 kB/s) 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) ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arialb32.exe Get:1 http://downloads.sourceforge.net/corefonts/arialb32.exe [168 kB] Fetched 168 kB in 0s (306 kB/s) W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/arialb32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/comic32.exe Err:1 http://downloads.sourceforge.net/corefonts/comic32.exe 404 Not Found W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/comic32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) E: Failed to fetch https://netix.dl.sourceforge.net/project/corefonts/the fonts/final/comic32.exe 404 Not Found E: Download Failed Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ... 

它无法下载的特定点发生了变化 – 它似乎是一个源代码可靠性问题,但现在已经持续数周,导致令人烦恼的弹出窗口一直存在。

我们如何解决这个问题和/或我现在如何解决这个问题。

Launchpad bug #1607535 #1651923已修复在Apt for Xenial和Yakkety的“更新”存储库中。

  1. 如果您使用的是Ubuntu Xenial或更高版本(16.04+),请确保已启用“更新”存储库并更新存储库信息和软件包:

     sudo apt update sudo apt upgrade -f 

    这告诉Apt

    • 升级所有可以通过新版本轻松替换的软件包,以及
    • 尝试修复进程中所有不一致的包( -f )。
  2. 如果您的Ubuntu版本没有固定版本,您可以下载不受此错误影响的Debian版本的ttf-mscorefonts-installer ,并将其安装在Software Center或命令行中 。

有同样的问题,在网络上找到了一个适合我的解决方案,其他“解决方案”不起作用:

 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