ubuntu Could not get lock /var/lib/dpkg/lock

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?

此时使用

fuser -vik /var/lib/dpkg/lock 

按照提示,选择y,即可kill掉占用的进程

你可能感兴趣的:(ubuntu Could not get lock /var/lib/dpkg/lock)