Added apt update before package installation on Debian based systems