E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. 爆錯解決辦法

author  :headsen chenjava

date : 2019-06-06  10:09:06ubuntu

root@ubuntu:~# apt-get remove java-1.8.0-openjdk
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. 
root@ubuntu:
~# rm /var/lib/dpkg/lock
root@ubuntu:~# apt-get remove java-1.8.0-openjdk E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@ubuntu:
~# rm /var/lib/dpkg/updates/* root@ubuntu:~# apt-get remove java-1.8.0-openjdk Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package java-1.8.0-openjdk E: Couldn't find any package by glob 'java-1.8.0-openjdk' E: Couldn't find any package by regex 'java-1.8.0-openjdk' # 至此:刪除完成。
相關文章
相關標籤/搜索