How do I fix dpkg frontend is locked by another process?
Answer
Answer
- Step 1: Find out who is locking dpkg: Option #1: Using lsof (not always installed on the machine) …
- Step 2: Decide what you want to do with the current dpkg user. If there is no such process, there is nothing to decide, just skip to the next step. …
- Step 3: Remove the lock file. …
- Step 4: Fix dpkg internal state.