![](https://seccdn.libravatar.org/avatar/e7f8a6450b901ef889d10b1dd7b05765.jpg?s=120&d=mm&r=g)
3 Jun
2004
3 Jun
'04
08:30
--- Martin Mielke <__> wrote:
Hi Riccardo,
[ snip ]
--- I think that's probably a mistake of mine (maybe launching apt from two sessions :-(), still, is there any way to figure out who or what is locking a specific file?
[ snip ]
You answered yourself ;) you cannot run 'rpm' twice at the same time...
To see which files are being locked/used, try lsof
HTH, Martin
[snip] sorry, I probably mis-written the question. I was trying to figure out who was locking the file and I wasn't able to find what happened to that particular process, so I described what was going on. the right question was: how to figure out who is locking/using a file? thanks for your answer. Is the one I was looking for. regards, ===== Riccardo G. Facchini