Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3144 (unattended-upgr)... ^C code example
Example: 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'