Le 18/05/2013 04:30, sp113438 a écrit :
It does not. You loose the information that some packages where installed only as dependencies.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.