E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) [duplicate]

sudo rm /var/cache/debconf/*.dat


A solution to this locking problem is detailed in the wiki:
fuser -v /var/cache/debconf/config.dat
Will show you what process is holding the lock then you simply need to note down the PID and kill it like so:
sudo kill PID
sudo kill -9 PID  # if the first doesn't work

No comments:

Post a Comment