Re: Exportings Installed Software List
On Mon, Apr 07, 2003 at 12:10:28PM -0400, Scott Henson wrote:
> On Mon, 2003-04-07 at 11:15, David Meiser wrote:
> > Hello,
> >
> > I'm trying to install debian on a second machine and would like to
> > export the installed package list... I was walked through it before
> > using dpkg, but I can't remember how.
> >
> dpkg --get-selections > selections.txt
> dpkg --set-selections < selections.txt
> apt-get -u dist-upgrade
> --
> Scott Henson <debian-list@silvercoin.dyndns.org>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Assuming that the originating system has references in it's source.list
file pointing to stable and testing (for example), the command shown
above doesn't show what version the package is or where it was
pulled from (stable/testing/unstable/other) does it?
If that's the case, then the above commands would be insufficient
to guarantee that both systems are the same. (Copying sources.list
would help, but you still wouldn't know where a package was pulled
from would you?)
Reply to: