dpkg处理msttcorefonts(--configure)出错
子进程post-installation script返回了错误号1
在处理时有错误发生
msttcorefonts
E:sub-process /usr/bin/dpkg returned an error code (1)

这个问题可以这样解决:

1.去 http://sourceforge.net/project/showfiles.php?group_id=34153&release_id=105355 下载 the fonts final 里面的 andale32.exe arialb32.exe courie32.exe impact32.exe trebuc32.exe webdin32.exe arial32.exe comic32.exe georgi32.exe times32.exe verdan32.exe

2.将 /tmp/ 里面的 msttcorefonts.* 这些目录 rm -r 一下。现在开始 apt-get install msttcorefonts 。

3.在出现如下字符提示的时候:

You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
--22:44:46-- http://belnet.dl.sourceforge.net/sou...ts/andale32.ex e
=> `./andale32.exe'

迅速将刚才下载的12个 exe 文件 cp 到 /tmp/msttcorefonts.* 目录里面。注意这个 msttcorefonts.* 就是刚刚 apt 时生成的。

这样安装便可顺利完成。

这个问题出现的原因是 sourceforge 的多个镜像里都已经不包含上面的那些 exe 文件了,所以需要手动下载到本地安装。