How to solve apt-get update error: Could not get lock var-lib..lock. It is held by process (aptd)
Channel:
Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=adWzv6k2m4U
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
Other Videos By Ambar Hasbiyatmoko
Tags:
apt-get update
error
ubuntu
linux
package
install
lib
lock
aptd
process id
terminal
update app