关于不能完全删除linux-ubuntu-modules-2.6.22-12-generic的解决方法

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
snonow
帖子: 251
注册时间: 2005-09-08 9:01

关于不能完全删除linux-ubuntu-modules-2.6.22-12-generic的解决方法

#1

帖子 snonow » 2007-10-08 18:09

代码: 全选

E: linux-ubuntu-modules-2.6.22-12-generic: subprocess post-removal script returned error exit status 1
已报告的bug地址:https://bugs.launchpad.net/ubuntu/+sour ... bug/149836


解决办法:http://ubuntuforums.org/showthread.php?t=569034

You should report a bug about this. I think this happens when kernel is removed (files in /lib/modules/2.6.22-12-generic) before corresponding linux-ubuntu-modules packages is removed.

You can try manually create /lib/modules/2.6.22-12-generic directory if it doesn't exist anymore, then try to remove linux-ubuntu-modules package, or alternatively modify /var/lib/dpkg/info/linux-ubuntu-modules-2.6.22-12-generic.postrm and comment out "update-initramfs ..." line and then try to remove linux-ubuntu-modules.
BenQ P41-C30
\找不到64位软件已经是历史了
头像
守望伊人
帖子: 189
注册时间: 2006-05-18 18:24
来自: 四川广安
联系:

#2

帖子 守望伊人 » 2007-10-16 17:24

谢谢啦
回复