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
-
No, it is a file, you'd treat it like a text file and delete it as you would anything else, either using kdesudo dolphin , or in a terminal with sudo rm [full path to the file]
Sent from my LG G4
- Top
- Bottom
Comment
-
Comment