Unable to lock the administration directory code example
Example 1: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
ps aux | grep -i apt
Example 2: how to realse the lock in the linux in apt
sudo kill <process_id>
Example 3: why upgrade ubuntu then frequently shows this message "It iwating for cache lock: Could not get lock /var/lib/dpkg/lock.frontend.
It iwating for cache lock: Could not get lock /var/lib/dpkg/lock.frontend.