sub-process /usr/bin/dpkg returned an error code (1) ubuntu 18.04 openlitespeed code example Example: E: Sub-process /usr/bin/dpkg returned an error code (1) sudo dpkg --configure -a