---

How to fix ???E: Could not get lock /var/lib/dpkg/lock??? Error in Ubuntu

Sometimes when users try to install an application by executing the usual apt command on Ubuntu, they get the following error: E: Could not get lock /var/lib/dpkg/lock???