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.