On May 17, 2013, at 7:30 PM, sp113438 wrote:
On Fri, 17 May 2013 18:24:21 -0700 Rick Thomas <rbthomas@pobox.com> 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.
That's interesting, and even useful. Thanks! It's something I didn't know and have often wondered about.
Nevertheless, it still doesn't answer the first question: What useful thing is done by aptitude-create-state-bundle ?
Enjoy! Rick