I'd like to output a list of all currently not installed packages (they are visible in Synaptic for example) using only shell commands. How do I do this?
This should be it:
This will list all packages currently not installed (including virtual packages and packages that have only their configuration files installed). If you don't want virtual packages (that's what Synaptic shows as Not installed), extend the search pattern to:
You probably need to install
This isn't fast, but it will work:
Warning: This prints all packages, even meta-packages and virtual packages.