How do I unlock /var/lib/dpkg ?
Announcement
Collapse
No announcement yet.
How to unlock a locked file
Collapse
This topic is closed.
X
X
-
Actually, the existence of a lock file is there to prevent more than one instance of dpkg or apt running at the same time. (and hence any package manager install/removal action)
The lock file can be in a variety of places, and is called...... lock.
Guessing from your post, the file is located in /var/lib/dpkg so you need need to delete the file
/var/lib/dpkg/lock
using sudo from the terminal, or dolphin with kdesudo.
Sent from my LG G4
- Top
- Bottom
-
Comment