4ed05122_r_2__Debian_package_management__action
[command] dpkg --get-selections '*' >selection.txt [action] 
save dpkg level package selection state information
Chapter 2. Debian package management
action