ubuntu apt frontend lock code example
Example 1: 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.
Example 2: E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
$ sudo dpkg --configure -a
dpkg: error: parsing file '/var/lib/dpkg/updates/0004' near line 0:
newline in field name '#padding'