Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2

Sub-process /usr/bin/dpkg returned an error code (1)
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2

这两个错误提示一般发生于apt-get中,具体原因可能是由于apt-get 卸载不完全的缘故。解决方法是

 cd /var/lib/dpkg
 mv info infobak
 mkdir info
 dpkg --configure -a
 apt-get install -f

You May Also Like

About the Author: admin

发表评论

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