[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why is there no tool to make an identical installation on several PCs - or is there

On Mon, Aug 19, 2002 at 01:19:44PM +0200, Guido Hamacher wrote:
> Hi,
> I am looking for a tool that allows me to do an identical installation - 
> packagewise - on two copmuters (or more). One ist already installed and 
> running, the other has only a small installation of Woody running. Now I 
> would like the second computer to have the very same packages installed 
> as are on the first one. Since there is only a connection via the 
> internet between those two computers I do not want to rsync or whatever. 
> I would like only to fetch a list of all the packages installed on 
> number one and "reinstall" them on computer two. Something like 'apt-get 
> install --from-file list-of-installed-packages-on-computer1.txt' on 
> computer 2 would be great ;-)
> Since I was not able to find something suitable ... maybe someone of you 
> has an idea.

Something like

dpkg --get-selections > packages.text

on the machine with all the packages you want. Then move the
packages.text file to the other computer with only the small
installation and run

dpkg --set-selections < packages.text
apt-get update (or something else which will cause dpkg to install all
the pending packages)

Janne Blomqvist	

Reply to: