If you want to leave packages that have been removed but that still have config files installed
try the following list instead
sudo dpkg -l | grep -v ^ii | grep -v ^rc
If you want to leave packages that have been removed but that still have config files installed
try the following list instead
sudo dpkg -l | grep -v ^ii | grep -v ^rc