LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1144|回复: 1

无法删除msttcorefonts

[复制链接]
发表于 2008-3-1 15:54:43 | 显示全部楼层 |阅读模式
上午想装一个字体包msttcorefonts,装到一半因为源里没有相应文件而失败。结果以后每
次apt-get都会自动继续msttcorefonts的安装...导致其他软件都无法安装。我试了dpkg-re
configure -a,apt-get remove ,apt-get -f -m都会出同样的错误,不知道要如何才能卸载
掉这个包?十分感谢!
                         
错误信息:
                         
Connecting to 59.66.131.43:808... connected.
Proxy request sent, awaiting response... 407 Unauthorized
14:55:50 ERROR 407: Unauthorized.
                         
--14:55:50-- http://switch.dl.sourceforge.net ... refonts/andale32.ex
e
=> `./andale32.exe'
Connecting to 59.66.131.43:808... connected.
Proxy request sent, awaiting response... 407 Unauthorized
14:55:50 ERROR 407: Unauthorized.
                         
andale32.exe: No such file or directory
                         
All done, errors in processing 1 file(s)
dpkg: 作下列清理工作时发生错误:
子进程 post-installation script 返回了错误号 1
在处理时有错误发生:
msttcorefonts
E: Sub-process /usr/bin/dpkg returned an error code (1)
 楼主| 发表于 2008-3-1 16:46:35 | 显示全部楼层

已解决

修改 /var/lib/dpkg/info/msttcorefonts.prerm
把set -e改为set -x就能顺利卸载
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表