I verified by creating a prerm script for packagekit-tools with sleep 20 in it, and then looked at the locks while that was sleeping:
# lslocks COMMAND PID TYPE SIZE MODE M START END PATH cron 415 FLOCK 4B WRITE 0 0 0 /run/crond.pid packagekitd 3374 POSIX 0B WRITE 0 0 0 /var/lib/dpkg/lock-frontend packagekitd 3374 POSIX 0B WRITE 0 0 0 /var/cache/apt/archives/lock atd 406 POSIX 4B WRITE 0 0 0 /run/atd.pid dpkg 3500 POSIX 0B WRITE 0 0 0 /var/lib/dpkg/lock We can see the packagekitd holds the frontend lock, and dpkg holds the lock. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1795614 Title: packagekit frontend locking To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/1795614/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
