Besides the discussion about how to preserve the installed packages state, I would also backup the file /var/cache/debconf/config.dat which helps to restore the configuration of the configurable installed packages. But I don't know how to do it automatically but I think its described in the man page debconf(7) of the debconf-doc package. -- Regards, Jörg-Volker.
-- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org