dpkg: error: dpkg status database is locked by another process

新装的ubuntu18安装软件报如下错误:

报错信息如下:

dpkg: error: dpkg status database is locked by another process

 

解决办法如下:

 

    1. sudo rm /var/lib/dpkg/lock
    2. sudo dpkg --configure -a
posted @ 2018-09-03 19:01  cicarius  阅读(301)  评论(0编辑  收藏  举报