Clone Debian/Ubuntu installation [closed]
How to mirror apt-get installs.
Primary System
dpkg --get-selections > installed-softwarescp installed-software $targetsystem:.
Target System
dpkg --set-selections < installed-softwaredselect"
done.
+1 to this post
This guide should answer your direct question
But I would recomend Rsync and simply clone entire /root. Its only expensive the first time.
You can also create your own package repository and have all your machines run their daily updates from your repository.
Supposing you want to install Ubuntu on multiple identical systems you could try with the Automatic Install feature.