xen 更新内核出错

Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-5-686-bigmem.postinst line 799,  line 2.
dpkg: error processing linux-image-2.6.32-5-686-bigmem (--configure):
subprocess installed post-installation script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
linux-image-2.6.32-5-686-bigmem
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

 

错误就是上边的错误,请教万能的google后,得出结论,问题出在xen server 管理了内核,这个对于客户机来说可能是不可见的,或者是其他,没搞懂。

具体请查看这个:http://www.stevefortuna.com/upgrading-to-debian-6-squeeze-on-vps-netany-onapp-platform/

解决方法:原理猜测是卸载点grub,不然grub管理启动内核就行了.

apt-get remove grub-legacy grub-common

You May Also Like

About the Author: admin

发表评论

邮箱地址不会被公开。 必填项已用*标注