If you want to track system changes for reproducing them, dpkg-query may be of help. Running it with the same parameters on fresh and completed install, saving the outputs, and taking the diff will...