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 G4Self-built: Asus PRIME B550M-K/Ryzen 5600GT/32Gb/Intel ARC B580 12Gb/KDE neon
HP Elitedesk 800 G3 Mini: i5-7500T(35w)/32Gb/KDE Linux/Kubuntu LTS
HP Chromebook 14: i5-1135G7/8Gb/512Gb SSD/KDE neon
- 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 G4Self-built: Asus PRIME B550M-K/Ryzen 5600GT/32Gb/Intel ARC B580 12Gb/KDE neon
HP Elitedesk 800 G3 Mini: i5-7500T(35w)/32Gb/KDE Linux/Kubuntu LTS
HP Chromebook 14: i5-1135G7/8Gb/512Gb SSD/KDE neon
- Top
- Bottom
Comment
-
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.





Comment