Skip to content

Archive for

Resolve E: Could Not Get Lock in Ubuntu

Getting error while doing update in ubuntu

E: Could not get lock /var/lib/apt/lists/lock. It is held by process

Solution :

Find the which process is locking

ps aux | grep ‘[a]pt’

Kill the session

sudo kill 158542

sudo apt-get update