遇到了dpkg was interrupted, you must manually run 'dpkg..的问题

来源:互联网 发布:易建联篮网数据 编辑:程序博客网 时间:2024/05/16 18:12
今天为了编译Android,更新java5

运行了sudo apt-get install sun-java5-jdk
出现这么一个错误:

dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. 
 
网上查了查,运行,

sudo dpkg --configure -a 
 

解决之