https://askubuntu.com/questions/468248/i-need-to-check-for-dpkg-lock-before-installing-apps-in-a-script