I'm getting the error when I run sudo apt upgrade
:
Citing for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 12111 (synaptic)...4s
So, I tried sudo lsof /var/lib/dpkg/lock-frontend
, and got this:
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse file system /run/user/1000/doc
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
synaptic 12111 root 11uW REG 8,5 0 49152209 /var/lib/dpkg/lock-frontend
I'm not sure what is happening here. All I ever did was to remove a broken package. You can check my previous question for that. But how do I solve this cache lock problem?