升级在ttf-mscorefonts-installer上挂起

我正在尝试从11.10升级到12.04并且升级似乎无法下载ttf-mscorefonts。 有没有办法绕过这个?

来自/ var / log / dist-upgrade的输出

Installing new version of config file /etc/xdg/autostart/print-applet.desktop ... Setting up ubuntu-wallpapers-precise (0.34.1) ... Setting up ubuntu-wallpapers (0.34.1) ... Setting up adium-theme-ubuntu (0.3.2-0ubuntu1) ... Setting up update-manager-core (1:0.156.14) ... Installing new version of config file /etc/update-manager/release-upgrades ... Setting up update-notifier-common (0.119ubuntu8.1) ... ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe -- 0:precise -- time-stamp -- Apr/27/12 8:15:21 -- -- 0:precise -- time-stamp -- Apr/27/12 8:20:10 -- -- 0:precise -- time-stamp -- Apr/27/12 8:22:01 -- -- 0:precise -- time-stamp -- Apr/27/12 8:55:14 -- phiri@PHRLIG001:/var/log/dist-upgrade$ lsb_release -a LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch Distributor ID: Ubuntu Description: Ubuntu 12.04 LTS Release: 12.04 Codename: precise phiri@PHRLIG001:/var/log/dist-upgrade$ 

我有完全相同的问题,从sourceforge下载ms-core-fonts时升级了。 等待该过程继续2个小时后,我决定终止下载程序包的过程。

所以我只是运行“sudo htop”,然后运行F5来查看进程树,我从负责升级到精确的主进程开始,并搜索下载的一个负责人。 我杀死了这个,然后该过程跳过ms-core-font下载部分然后继续并完成更新到精确。

如果你没有htop ,只需尝试ps -ejHf并找到package-data-downloader并将其ps -ejHf

 root 29696 11731 29696 29696 0 22:46 pts/2 00:00:04 /usr/bin/dpkg --force-overwrite --status-fd 56 --configure dmsetup libdevmapper1.02.1 libfreetype6 g root 22330 29696 29696 29696 0 23:02 pts/2 00:00:00 /bin/sh /var/lib/dpkg/info/update-notifier-common.postinst configure 0.117ubuntu3.2 root 22332 22330 29696 29696 0 23:02 pts/2 00:00:00 /usr/bin/python /usr/lib/update-notifier/package-data-downloader 

您可以删除该软件包,然后在升级系统的其余部分时重新安装它。 当然,在下载字体时不应该失败,但如果源伪造现在已经失效,那么它可能是一种解决方法。

附加信息:我在新安装Kubuntu 12.04并使用其他机器安装的软件包列表时遇到了完全相同的问题,其中包含从Kubuntu 11.10升级的Kubuntu 12.04。 我在系统监视器中输入了“ttf-mscorefonts-installer”。 然后,我找到了与ttf-mscorefonts-installer安装失败相关的过程。 它失败了,因为我无法表示接受软件许可条款。 所以,我杀了与之相关的过程。 比,我去了MUON包经理。 在那里,我再次命令升级ttf-mscorefonts-installer:现在它可以工作了。 我可以通过MUON gui表示接受这些条款。 然后,一切顺利。 问题解决了。

从14.04升级到16.04时,我遇到了与ttf-mscorefonts-installer相同的问题。 我尝试通过htop(SIGTERM和SIGKILL)杀死与ttf-mscorefonts-installer相关的进程,这对我来说不起作用。 我做了一些进一步的挖掘,发现我忽略了Tab,它突出显示OK并允许Enter键继续这里概述的过程。 直到我意识到在请求接受的页面上包含“点击标签然后输入接受”这些词语非常简单之后我才感到非常愚蠢。 我毫不怀疑,进行这种小调整可以消除很多挫败感。

ttf-mscorefonts目前不适用于12.04所以升级过程因为您已经安装在当前版本中而被卡住了。 删除包并尝试升级

你也可以参考https://launchpad.net/ubuntu/precise/+package/ttf-mscorefonts-installer