ubuntu 无法安装软件

问题描述

apt-get install package 时出现以下问题

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

解决办法:

sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a

你可能感兴趣的:(ubuntu 无法安装软件)