Originally Posted by
ml9104
... to create an identical software setup ...
Then why not just tell "dpkg" to do that for you? Let the packet manager handle that.
On the original installation you do this:
- copy /etc/apt/sources.list to the target computer ... this file needs to be identical on the target
- copy /etc/apt/sources.list.d/* to the target computer ... if there's anything here. These files also need to be on the target.
Then tell "dpkg" to write down what's installed into a file:
Code:
sudo dpkg --get-selections > mypackagelist.txt
Copy that file "mypackagelist.txt" to the target too.
Then, on the target computer, do:
Code:
sudo dpkg --set-selections < mypackagelist.txt
The target computer will mark all the packages the original computer had as packages it now wants too.
Then you just trigger the re-installation of everything:
Code:
sudo apt-get dselect-upgrade
The result should now be that the target computer has the exact same packages the original computer had, independent of any user accounts that might or might not be present, network configuration, etc. This just "clones" what software was installed on the original and tells a target computer to go and install the same stuff, it doesn't mess with anything else.
Bookmarks