LinuxSir.cn,穿越时空的Linuxsir!

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

如何强制删除一个软件

[复制链接]
发表于 2005-10-13 02:28:00 | 显示全部楼层 |阅读模式
我装了scim,但是有问题,我想重新装一遍.但是在remove卸载scim-chinese的时候找不到一个xml配置文件,进行不下去,install不了,系统认为scim-chinese还是存在的。
我应该如何强行的安装或删除,就像rpm用--force参数那样的?
谢谢,顺便提一下,网通效率挺高的,两点多就能重新开了
 楼主| 发表于 2005-10-14 16:45:24 | 显示全部楼层
没有人知道吗?沉得好快啊
回复 支持 反对

使用道具 举报

发表于 2005-10-14 17:06:38 | 显示全部楼层
加个 参数-f试下
回复 支持 反对

使用道具 举报

发表于 2005-10-14 20:26:20 | 显示全部楼层
This command can purge any packages (even system packages). Use with extreme caution:

dpkg --purge --force-depend xxxxx

Read the man page carefully before proceed.

man dpkg (look at the section --force-thing) and

dpkg --force-help
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-17 11:53:13 | 显示全部楼层
to d00m3d:
还是不行:
dpkg --purge --force-depends scim-chinese
(Reading database ... 100849 files and directories currently installed.)
Removing scim-chinese ...
/etc/gconf/schemas/scim-chinese.schemas:1: parser error : Document is empty

^
/etc/gconf/schemas/scim-chinese.schemas:1: parser error : Start tag expected, '<' not found

^
dpkg: error processing scim-chinese (--purge):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
scim-chinese
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-17 11:54:43 | 显示全部楼层
to esky:
你说的是下面的吗?我试过了,但是好像不行啊

dpkg --purge remove -f scim-chinese
dpkg - warning: ignoring request to remove remove which isn't installed.
dpkg - warning: ignoring request to remove -f which isn't installed.
(Reading database ... 100849 files and directories currently installed.)
Removing scim-chinese ...
/etc/gconf/schemas/scim-chinese.schemas:1: parser error : Document is empty

^
/etc/gconf/schemas/scim-chinese.schemas:1: parser error : Start tag expected, '<' not found

^
dpkg: error processing scim-chinese (--purge):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
scim-chinese
回复 支持 反对

使用道具 举报

发表于 2005-10-17 13:32:01 | 显示全部楼层
去看看提示出错的那个文件好了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-22 22:29:08 | 显示全部楼层
那个文件好像不存在,可能是以前删除了吧,所以就出问题了
能不能强行的删除呢?
回复 支持 反对

使用道具 举报

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

本版积分规则

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