Error i have got when trying to run: sudo apt-get update
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 9160 (aptd)
N: Be aware that removing the lock file is not a solution and may break your system.
Resolve:
Kill process 9160 (aptd)
run these commands:
– ps aux | grep ‘[a]pt’
– kill (process id). for example kill 9160, 10101
– run apt-get update again
– solved
[ad_2]
source