LinuxSir.cn,穿越时空的Linuxsir!

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

删除bootsplash(deb包)后的问题,求教

[复制链接]
发表于 2005-10-17 22:25:08 | 显示全部楼层 |阅读模式
重编了核心,使之支持bootsplash,然后安装了bootsplash的deb包和theme。后来一直没用,以为已经remove了bootsplash,看到/etc下还有bootsplash的目录,一冲动,删除了....厄运来了。我apt-get remove --force 无法删除bootsplash,aptitude reinstall 报脚本错误,实在没办法了,只好一个个文件删除了,最后把/var/lib/dpkg中关于bootsplash的信息全部删除才总算可以在升级或安装其他包时看到错误信息了。但bootsplash已经不能安装了,安装就报preinst脚本出错。我查看了一下/var/lib/dpkg中包的脚本,没找出来什么问题。
     请教一下,debian中还有什么地方记录了deb包的信息,这个问题应该是还有什么地方没有清理干净导致的,或者大家有什么建议,欢迎指导,谢谢
发表于 2005-10-17 22:39:31 | 显示全部楼层
dpkg -P bootsplash 试试
回复 支持 反对

使用道具 举报

发表于 2005-10-17 23:13:52 | 显示全部楼层
用搜索...这个问题以前有讨论

=========================
修改一处,然后删除bootsplash,重新安装即可
(1) Comment out all instances of "db_unregister shared/bootsplash-theme"
in /var/lib/dpkg/info/bootsplash*.postrm, as suggested in the earlier
thread, to allow clean deinstallation.

(2) apt-get --purge remove bootsplash bootsplash-theme-debian-tux
[substitute your themes here]

(3) rm /var/lib/dpkg/info/bootsplash*

(4) Edit /var/cache/debconf/config.dat and
/var/cache/debconf/templates.dat. Remove all entries related to
bootsplash (but not sysv-rc-bootsplash, which I had left installed).
上述方法来源自linuxquestions,不一定可以,也可能带来很大的麻烦,你自己想想再用吧
========================

从那帖子里转来的...这方法差不多是唯一的解决方法了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-18 22:17:51 | 显示全部楼层
太谢谢了,呵,搞定!
搜索还是应该多做做阿......
回复 支持 反对

使用道具 举报

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

本版积分规则

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