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

Re: apt-deb-list?



On Friday 02 May 2003 03:02 pm, smurfd wrote:
> Hey there!
>
> Ive been thinking about coding together an application, that is able to
> save a list of current installed packages, and then at another time, use
> that list and install/remove the differences from the current installed
> packages.
>
> I don't know if there is some application that does these things already
> in Debian?

I think you want something like this...

On the source machine:
dpkg --get-selections "*" > selection-data

Copy the selection-data file to the target, then on that machine run:
dpkg --set-selections < selection-data

dselect update install remove

Minor details might be different, but that's the general idea.  Debian already 
provides for this.

 - Keegan



Reply to: