Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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

Method 1
ps aux | grep -i apt
sudo kill -9 <process_id>

Method 2

sudo lsof /var/lib/dpkg/lock
sudo lsof /var/lib/apt/lists/lock
sudo lsof /var/cache/apt/archives/lock

sudo kill -9 <process_id>
Source by itsfoss.com #
 
PREVIOUS NEXT
Tagged: #Could #lock #open #Resource #temporarily
ADD COMMENT
Topic
Name
6+9 =