On Fri, 17 May 2013 18:24:21 -0700
Rick Thomas <[email protected]> wrote:
>
> Can anybody tell me when I might want to use aptitude-{create,run}-
> state-bundle ?
>
> Is it, for example, useful for cloning a machine configuration
> following a re-install from scratch?
>
> Thanks!
>
> Rick
>
>
#!/bin/bash
datetag=$(date +%Y-%m-%d_-_%H:%M:%S)
dpkg --get-selections > /root/dpkglist-$datetag.txt
On second machine:
## dpkg --set-selections < /root/dpkglist-$datetag.txt
## apt-get dselect-upgrade
should do the cloning job.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/20130518043043.267d4ca5@fx4100