ttf-mscorefonts-installer烦人的升级错误[解决]答案在4楼、6楼

编译打包和其他
回复
头像
sxdhaoren
帖子: 852
注册时间: 2008-10-01 0:20
系统: ubuntu kylin16.04.3

ttf-mscorefonts-installer烦人的升级错误[解决]答案在4楼、6楼

#1

帖子 sxdhaoren » 2009-09-25 20:50

似乎是ubuntu tweak安装软件的错误,所以用tweak时小心翼翼,但不幸还是无法避免
代码:

代码: 全选

ubuntu@ubuntu-laptop:/var/lib/dpkg/info$ sudo apt-get -f install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后会消耗掉 0B 的额外空间。
正在设置 ttf-mscorefonts-installer (2.6) ...

These fonts were provided by Microsoft "in the interest of cross-
platform compatibility".  This is no longer the case, but they are
still available from third parties.

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.

--2009-09-19 10:52:52--  http://surfnet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
正在解析主机 surfnet.dl.sourceforge.net... 130.59.138.21
正在连接 surfnet.dl.sourceforge.net|130.59.138.21|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:http://downloads.sourceforge.net/sourceforge/corefonts /andale32.exe?download&failedmirror=surfnet.dl.sourceforge.net [跟随至新的 URL]
--2009-09-19 10:52:53--  http://downloads.sourceforge.net/sourceforge/corefonts/andale32.exe?download&failedmirror=surfnet.dl.sourceforge.net
正在解析主机 downloads.sourceforge.net... 216.34.181.59
正在连接 downloads.sourceforge.net|216.34.181.59|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:http://ncu.dl.sourceforge.net/project/corefonts/the%20fonts/final/andale32.exe [跟随至新的 URL]
--2009-09-19 10:52:54--  http://ncu.dl.sourceforge.net/project/corefonts/the%20fonts/final/andale32.exe
正在解析主机 ncu.dl.sourceforge.net... 140.115.17.45
正在连接 ncu.dl.sourceforge.net|140.115.17.45|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 198384 (194K) [application/octet-stream]
保存到‘./andale32.exe’

100%[======================================>] 198,384      214K/s   in 0.9s   

2009-09-19 10:52:55 (214 KB/s) - `./andale32.exe' 已经保存 [198384/198384]

--2009-09-19 10:52:55--  http://surfnet.dl.sourceforge.net/sourceforge/corefonts/arialb32.exe
正在解析主机 surfnet.dl.sourceforge.net... 130.59.138.21
正在连接 surfnet.dl.sourceforge.net|130.59.138.21|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:http://downloads.sourceforge.net/sourceforge/corefonts /arialb32.exe?download&failedmirror=surfnet.dl.sourceforge.net [跟随至新的 URL]
--2009-09-19 10:52:56--  http://downloads.sourceforge.net/sourceforge/corefonts/arialb32.exe?download&failedmirror=surfnet.dl.sourceforge.net
正在解析主机 downloads.sourceforge.net... 216.34.181.59
正在连接 downloads.sourceforge.net|216.34.181.59|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:http://ncu.dl.sourceforge.net/project/corefonts/the%20fonts/final/arialb32.exe [跟随至新的 URL]
--2009-09-19 10:52:57--  http://ncu.dl.sourceforge.net/project/corefonts/the%20fonts/final/arialb32.exe
正在解析主机 ncu.dl.sourceforge.net... 140.115.17.45
正在连接 ncu.dl.sourceforge.net|140.115.17.45|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 168176 (164K) [application/octet-stream]
保存到‘./arialb32.exe’

100%[======================================>] 168,176      213K/s   in 0.8s   

2009-09-19 10:52:58 (213 KB/s) - `./arialb32.exe' 已经保存 [168176/168176]

--2009-09-19 10:52:58--  http://surfnet.dl.sourceforge.net/sourceforge/corefonts/arial32.exe
正在解析主机 surfnet.dl.sourceforge.net... 130.59.138.21
正在连接 surfnet.dl.sourceforge.net|130.59.138.21|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:http://downloads.sourceforge.net/sourceforge/corefonts /arial32.exe?download&failedmirror=surfnet.dl.sourceforge.net [跟随至新的 URL]
--2009-09-19 10:52:58--  http://downloads.sourceforge.net/sourceforge/corefonts/arial32.exe?download&failedmirror=surfnet.dl.sourceforge.net
正在解析主机 downloads.sourceforge.net... 216.34.181.59
正在连接 downloads.sourceforge.net|216.34.181.59|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:http://ncu.dl.sourceforge.net/project/corefonts/the%20fonts/final/arial32.exe [跟随至新的 URL]
--2009-09-19 10:52:59--  http://ncu.dl.sourceforge.net/project/corefonts/the%20fonts/final/arial32.exe
正在解析主机 ncu.dl.sourceforge.net... 140.115.17.45
正在连接 ncu.dl.sourceforge.net|140.115.17.45|:80... 失败:连接超时。
已放弃。
(中间重复很多次)
--2009-09-19 10:54:18--  http://switch.dl.sourceforge.net/sourceforge/corefonts/arial32.exe
正在解析主机 switch.dl.sourceforge.net... 130.59.138.21
正在连接 switch.dl.sourceforge.net|130.59.138.21|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:http://downloads.sourceforge.net/sourceforge/corefonts /arial32.exe?download&failedmirror=switch.dl.sourceforge.net [跟随至新的 URL]
--2009-09-19 10:54:19--  http://downloads.sourceforge.net/sourceforge/corefonts/arial32.exe?download&failedmirror=switch.dl.sourceforge.net
正在解析主机 downloads.sourceforge.net... 216.34.181.59
正在连接 downloads.sourceforge.net|216.34.181.59|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:http://ncu.dl.sourceforge.net/project/corefonts/the%20fonts/final/arial32.exe [跟随至新的 URL]
--2009-09-19 10:54:20--  http://ncu.dl.sourceforge.net/project/corefonts/the%20fonts/final/arial32.exe
正在解析主机 ncu.dl.sourceforge.net... 140.115.17.45
正在连接 ncu.dl.sourceforge.net|140.115.17.45|:80... 失败:连接超时。
已放弃。

Extracting cabinet: andale32.exe
extracting fontinst.inf
extracting andale.inf
extracting fontinst.exe
extracting AndaleMo.TTF
extracting ADVPACK.DLL
extracting W95INF32.DLL
extracting W95INF16.DLL

All done, no errors.
Extracting cabinet: arialb32.exe
extracting fontinst.exe
extracting fontinst.inf
extracting AriBlk.TTF

All done, no errors.
arial32.exe: No such file or directory

All done, errors in processing 1 file(s)
dpkg:处理 ttf-mscorefonts-installer (--configure)时出错:
子进程 post-installation script 返回了错误号 1
在处理时有错误发生:
ttf-mscorefonts-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
最后显示一个对话框:

代码: 全选

E: ttf-mscorefonts-installer: 子进程 post-installation script 返回了错误号 1
.png
上次由 sxdhaoren 在 2009-10-04 19:40,总共编辑 1 次。
自由软件爱好者
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: ttf-mscorefonts-installer烦人的升级错误

#2

帖子 smallapple » 2009-09-25 20:53

是少了arial32.exe吧?
再试试看能不能下载完成。
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46

Re: ttf-mscorefonts-installer烦人的升级错误

#3

帖子 hcym » 2009-09-25 20:53

mscorefonts


见识过,要跳接五六个服务器取认证

当时吓个半死,以后再也不碰这ms的fonts

:em04
头像
jmlk
帖子: 120
注册时间: 2009-03-30 17:02

Re: ttf-mscorefonts-installer烦人的升级错误

#4

帖子 jmlk » 2009-09-30 21:54

我刚刚也遇到了这问题,在网上找到了解决方案
解决方法:修改 /var/lib/dpkg/info/msttcorefonts.prerm
把set -e改为set -x就能顺利卸载
改好后执行:sudo apt-get remove msttcorefonts

参考:http://hi.baidu.com/hcylz/blog/item/b72 ... 881a0.html
头像
sxdhaoren
帖子: 852
注册时间: 2008-10-01 0:20
系统: ubuntu kylin16.04.3

Re: ttf-mscorefonts-installer烦人的升级错误

#5

帖子 sxdhaoren » 2009-10-02 8:24

jmlk 写了:我刚刚也遇到了这问题,在网上找到了解决方案
解决方法:修改 /var/lib/dpkg/info/msttcorefonts.prerm
把set -e改为set -x就能顺利卸载
改好后执行:sudo apt-get remove msttcorefonts

参考:http://hi.baidu.com/hcylz/blog/item/b72 ... 881a0.html
汗,我没找到/var/lib/dpkg/info/msttcorefonts.prerm
自由软件爱好者
头像
sxdhaoren
帖子: 852
注册时间: 2008-10-01 0:20
系统: ubuntu kylin16.04.3

Re: ttf-mscorefonts-installer烦人的升级错误

#6

帖子 sxdhaoren » 2009-10-03 14:36

在终端输入:

代码: 全选

sudo aptitude purge ttf-mscorefonts-installer ubuntu-restricted-extras
问题解决。
来源:
http://hi.baidu.com/sxdhaoren/blog/item ... .html#send
自由软件爱好者
头像
friedtiger
帖子: 81
注册时间: 2008-03-29 11:45
来自: Mars

Re: ttf-mscorefonts-installer烦人的升级错误

#7

帖子 friedtiger » 2009-10-04 9:51

sxdhaoren 写了:
jmlk 写了:我刚刚也遇到了这问题,在网上找到了解决方案
解决方法:修改 /var/lib/dpkg/info/msttcorefonts.prerm
把set -e改为set -x就能顺利卸载
改好后执行:sudo apt-get remove msttcorefonts

参考:http://hi.baidu.com/hcylz/blog/item/b72 ... 881a0.html
汗,我没找到/var/lib/dpkg/info/msttcorefonts.prerm
我也没找到/var/lib/dpkg/info/msttcorefonts.prerm
头像
sxdhaoren
帖子: 852
注册时间: 2008-10-01 0:20
系统: ubuntu kylin16.04.3

Re: ttf-mscorefonts-installer烦人的升级错误

#8

帖子 sxdhaoren » 2009-10-04 19:30

friedtiger 写了:
sxdhaoren 写了:
jmlk 写了:我刚刚也遇到了这问题,在网上找到了解决方案
解决方法:修改 /var/lib/dpkg/info/msttcorefonts.prerm
把set -e改为set -x就能顺利卸载
改好后执行:sudo apt-get remove msttcorefonts

参考:http://hi.baidu.com/hcylz/blog/item/b72 ... 881a0.html
汗,我没找到/var/lib/dpkg/info/msttcorefonts.prerm
我也没找到/var/lib/dpkg/info/msttcorefonts.prerm
看看6楼,我那样给解决了
自由软件爱好者
apeng_mm
帖子: 45
注册时间: 2009-10-25 18:32

Re: ttf-mscorefonts-installer烦人的升级错误

#9

帖子 apeng_mm » 2009-11-15 15:05

sxdhaoren 写了:
在终端输入:

代码: 全选

sudo aptitude purge ttf-mscorefonts-installer ubuntu-restricted-extras
问题解决。
来源:
http://hi.baidu.com/sxdhaoren/blog/item ... .html#send
正解!我也解决了,多谢
不过这行代码啥意思
头像
wb19880808
帖子: 57
注册时间: 2009-04-20 11:41

Re: ttf-mscorefonts-installer烦人的升级错误[解决]答案在4楼、6楼

#10

帖子 wb19880808 » 2009-12-12 16:08

我的也是。重装了。
jimmyss
帖子: 2
注册时间: 2010-01-09 18:50

Re: ttf-mscorefonts-installer烦人的升级错误[解决]答案在4楼、6楼

#11

帖子 jimmyss » 2010-01-18 14:35

aptitude是一条更好的apt-get命令
参数purge的意思是卸载软件包并删除其配置文件
回复