Sysadmin tips from Ubuntu user groups.
Derek Broughton 2008-06-20: “I run this weekly:
aptitude search ‘~i !~M’ | tr -s ‘ ‘ | cut -f 2 -d ‘ ‘> /etc/apt/installed.txt
(all on one line, of course) which gives me a convenient list of currently
installed packages so that I can duplicate this setup on a new install.”
I plan to customize that so it generates a new file name based on the date and make this part of a backup routine. Also need to learn how to re-install from that list.