2 ms·`dpkg --get-selections` also lists explicitly deinstalled packages, so you'll want to grep the list first.by akx 8y ago`dpkg --get-selections` also lists explicitly deinstalled packages, so you'll want to grep the list first.