Get list of package selections, and write it to stdout. Without a pattern, packages
marked with state purge will not be shown.
Set package selections using file read from stdin. This file should be in the for‐
mat ’<package> <state>’, where state is one of install, hold, deinstall or purge.
Blank lines and comment lines beginning with ’#’ are also permitted.