Maybe not immediately, but after a minute, in a terminal as root user you can do: Code: rm /var/lib/dpkg/lock For me is the only solution (in addition to reboot).
rm /var/lib/dpkg/lock
pkill pkgmgrd rm /var/lib/dpkg/lock