`grep 'install' /var/log/dpkg.log`? That `cat` isn’t necessary…