Ask in thedevs Linux group
Ask your further questions on linux group, for current question, check if a process is using lock on dpkg by ps aux | grep dpkg and kill it. If no process is using lock then remove it by sudo rm -f /var/lib/dpkg/lock
The process is being locked by some other processes... Try to figure out which process is using dpkg ... Easy option: restart the system.
Rebooting your PC will work too
reboot. If still persists, delete the lock manually.
Reboot
Обсуждают сегодня