I want to know the exact process that is using the lock file. I don't want to fix it, but just to know what is my system doing. How can I find out?
For example, this message:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Again, I just want to identify the process using it, not how to fix it.
lsof
infamous? Are there some problems with it? – Ruslan Jan 19 '14 at 09:29ps $(sudo fuser /var/lib/dpkg/lock)
– wjandrea Aug 01 '17 at 17:27